projects
/
kernel
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8804ae3
)
include/compiler.h: remove uint typedef for __MACH__
author
Andreas Bießmann
<andreas.devel@googlemail.com>
Sat, 25 Sep 2010 15:45:59 +0000
(17:45 +0200)
committer
Wolfgang Denk
<wd@denx.de>
Wed, 6 Oct 2010 21:09:42 +0000
(23:09 +0200)
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>
include/compiler.h
patch
|
blob
|
history
diff --git
a/include/compiler.h
b/include/compiler.h
index
23f4b83
..
91dbe56
100644
(file)
--- 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;