diff options
author | Norbert Thiebaud <nthiebaud@gmail.com> | 2011-12-05 11:42:21 -0600 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2011-12-07 17:20:03 +0100 |
commit | 575138f4f247406d42d7a050371e9417bcc37168 (patch) | |
tree | 2d94d98bba5b22048cca770fe5b7e8ac15749130 /solenv | |
parent | a60908b884f424fa91d6f2551068469ebb05416f (diff) |
add def to allow compile of concat-deps.c on Mac
Diffstat (limited to 'solenv')
-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 |