diff options
author | Norbert Thiebaud <nthiebaud@gmail.com> | 2011-12-05 11:42:21 -0600 |
---|---|---|
committer | Bjoern Michaelsen <bjoern.michaelsen@canonical.com> | 2011-12-07 15:53:06 +0100 |
commit | 2ca9a7e82c97df06730301bdd740f55ac447dc95 (patch) | |
tree | 856dc51ae18c92abc146c97a238695bafafd9e6c | |
parent | ff5644afcab28b90c453dde5277d30094cdf1826 (diff) |
add def to allow compile of concat-deps.c on Mac
-rw-r--r-- | solenv/bin/concat-deps.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/solenv/bin/concat-deps.c b/solenv/bin/concat-deps.c index 508a9010cdf1..d699e8214063 100644 --- a/solenv/bin/concat-deps.c +++ b/solenv/bin/concat-deps.c @@ -11,6 +11,18 @@ * =============================================== */ +#ifdef __APPLE__ +#ifdef __x86_64__ +#define CORE_BIG_ENDIAN 0 +#define CORE_LITTLE_ENDIAN 1 +#define USE_MEMORY_ALIGNMENT 64 /* big value -> no alignment */ +#else +#define CORE_BIG_ENDIAN 1 +#define CORE_LITTLE_ENDIAN 0 +#define USE_MEMORY_ALIGNMENT 4 +#endif + +#endif #ifdef _AIX #define CORE_BIG_ENDIAN 1 #define CORE_LITTLE_ENDIAN 0 |