diff options
author | Julien Cristau <jcristau@debian.org> | 2008-05-02 15:30:45 -0400 |
---|---|---|
committer | Alex Deucher <alex@cube.(none)> | 2008-05-02 15:30:45 -0400 |
commit | 24b60c8965f6a0b3f0c2bb1e7236b4d6642c5918 (patch) | |
tree | 8e8cae883b3aee3b2c2340fd2fa77682fa418a9a /src/AtomBios | |
parent | f051359ac09c6b9416e39b9ca7d9dc0880aa1557 (diff) |
Add a test for __GLIBC__ to CD_Common_Types.h.
Atombios redefines the standard types but the definitions conflict
with the ones from glibc (causes build failures on GNU/Hurd
and GNU/kFreeBSD).
Diffstat (limited to 'src/AtomBios')
-rw-r--r-- | src/AtomBios/includes/CD_Common_Types.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/AtomBios/includes/CD_Common_Types.h b/src/AtomBios/includes/CD_Common_Types.h index e80be237..c60b652c 100644 --- a/src/AtomBios/includes/CD_Common_Types.h +++ b/src/AtomBios/includes/CD_Common_Types.h @@ -51,7 +51,9 @@ Revision History: // typedef __int64 int64_t; typedef unsigned __int32 uint32_t; typedef __int32 int32_t; -#elif defined (__linux__) || defined (__NetBSD__) || defined(__sun) || defined(__OpenBSD__) || defined (__FreeBSD__) || defined(__DragonFly__) +#elif defined (__linux__) || defined (__NetBSD__) \ + || defined(__sun) || defined(__OpenBSD__) \ + || defined (__FreeBSD__) || defined(__DragonFly__) || defined(__GLIBC__) typedef unsigned int uint32_t; typedef int int32_t; #else |