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>
This commit is contained in:
parent
8804ae3b7a
commit
5933645904
|
@ -47,7 +47,6 @@
|
||||||
#elif defined(__MACH__)
|
#elif defined(__MACH__)
|
||||||
# include <machine/endian.h>
|
# include <machine/endian.h>
|
||||||
typedef unsigned long ulong;
|
typedef unsigned long ulong;
|
||||||
typedef unsigned int uint;
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
typedef uint8_t __u8;
|
typedef uint8_t __u8;
|
||||||
|
|
Loading…
Reference in New Issue