From: "Andreas Bießmann" <andreas.devel@googlemail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] include/compiler.h: remove uint typedef for __MACH__
Date: Sat, 25 Sep 2010 17:45:59 +0200 [thread overview]
Message-ID: <1285429559-44573-1-git-send-email-andreas.devel@googlemail.com> (raw)
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;
--
1.7.3
next reply other threads:[~2010-09-25 15:45 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-09-25 15:45 Andreas Bießmann [this message]
2010-10-06 21:10 ` [U-Boot] [PATCH] include/compiler.h: remove uint typedef for __MACH__ Wolfgang Denk
2010-10-08 6:30 ` Andreas Bießmann
2010-10-08 8:16 ` Wolfgang Denk
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1285429559-44573-1-git-send-email-andreas.devel@googlemail.com \
--to=andreas.devel@googlemail.com \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.