[U-Boot] [PATCH] 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 --- 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;

Dear =?UTF-8?q?Andreas=20Bie=C3=9Fmann?=,
In message 1285429559-44573-1-git-send-email-andreas.devel@googlemail.com you wrote:
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 | 1 - 1 files changed, 0 insertions(+), 1 deletions(-)
Applied, thanks.
Best regards,
Wolfgang Denk

Dear Wolfgang Denk,
Am 06.10.2010 um 23:10 schrieb Wolfgang Denk:
Dear =?UTF-8?q?Andreas=20Bie=C3=9Fmann?=,
In message 1285429559-44573-1-git-send-email-andreas.devel@googlemail.com you wrote:
include/compiler.h | 1 - 1 files changed, 0 insertions(+), 1 deletions(-)
Applied, thanks.
Best regards,
Wolfgang Denk
couldn't find this patch mainline. Where did it go?
regards
Andreas Bießmann

Dear =?iso-8859-1?Q?Andreas_Bie=DFmann?=,
In message E0A9E8C7-F2F2-40D7-A71F-40C92D2B8390@googlemail.com you wrote:
include/compiler.h | 1 - 1 files changed, 0 insertions(+), 1 deletions(-)
Applied, thanks.
Best regards,
Wolfgang Denk
couldn't find this patch mainline. Where did it go?
commit 59336459042a5fccb2dda9cfbb592802c88f583d Author: Andreas Bießmann andreas.devel@googlemail.com Date: Sat Sep 25 17:45:59 2010 +0200
include/compiler.h: remove uint typedef for __MACH__
See http://git.denx.de/?p=u-boot.git;a=commit;h=59336459042a5fccb2dda9cfbb592802...
Best regards,
Wolfgang Denk
participants (2)
-
Andreas Bießmann
-
Wolfgang Denk