[U-Boot] [PATCH] include/compiler.h: remove uint typedef for __MACH__

Andreas Bießmann andreas.devel at googlemail.com
Sat Sep 25 17:45:59 CEST 2010


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 at googlemail.com>
---
 include/compiler.h |    1 -
 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;
-- 
1.7.3



More information about the U-Boot mailing list