aboutsummaryrefslogtreecommitdiff
path: root/include/compiler.h
diff options
context:
space:
mode:
authorAndreas Bießmann <andreas.devel@googlemail.com>2010-09-25 17:45:59 +0200
committerWolfgang Denk <wd@denx.de>2010-10-06 23:09:42 +0200
commit59336459042a5fccb2dda9cfbb592802c88f583d (patch)
treec7ec3ae59c46f81c17c809e92f913430cdeeeae7 /include/compiler.h
parent8804ae3b7a91b91e0c948b7bc1f0cf12118dd6e4 (diff)
downloadu-boot-59336459042a5fccb2dda9cfbb592802c88f583d.zip
u-boot-59336459042a5fccb2dda9cfbb592802c88f583d.tar.gz
u-boot-59336459042a5fccb2dda9cfbb592802c88f583d.tar.bz2
include/compiler.h: remove uint typedef for __MACH__
uint is typedefed twice if __MACH__ is defined. This generates an error when calling MAKEALL for netstar bord on OS X. This patch removes the typedef for __MACH__ case in favor of general definiton some lines below. Signed-off-by: Andreas Bießmann <andreas.devel@googlemail.com>
Diffstat (limited to 'include/compiler.h')
-rw-r--r--include/compiler.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/compiler.h b/include/compiler.h
index 23f4b83..91dbe56 100644
--- a/include/compiler.h
+++ b/include/compiler.h
@@ -47,7 +47,6 @@
#elif defined(__MACH__)
# include <machine/endian.h>
typedef unsigned long ulong;
-typedef unsigned int uint;
#endif
typedef uint8_t __u8;