diff options
author | Vincent Sanders <vince@kyllikki.org> | 2016-09-04 15:21:48 +0100 |
---|---|---|
committer | Vincent Sanders <vince@kyllikki.org> | 2016-09-04 15:21:48 +0100 |
commit | 9fc2238945747b27858a34c26c7c64cf895df7e8 (patch) | |
tree | b9eb1bb17a49dae2842ea4d860b4b465bb442efd /src/plot.h | |
parent | 6742ef25b910a3a69cce5c9bfd8b9a64b8e7f121 (diff) | |
download | libnsfb-9fc2238945747b27858a34c26c7c64cf895df7e8.tar.gz libnsfb-9fc2238945747b27858a34c26c7c64cf895df7e8.tar.bz2 |
use the darwin specific macros for endian checking
This is necessary to avoid issues around having the correct macros
defined in the darwin environment.
Diffstat (limited to 'src/plot.h')
-rw-r--r-- | src/plot.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -32,7 +32,7 @@ #elif defined(__APPLE__) /* mac os x has the include somewhere different */ #include <machine/endian.h> - #if BYTE_ORDER == BIG_ENDIAN + #if __DARWIN_BYTE_ORDER == __DARWIN_BIG_ENDIAN #define NSFB_BE_BYTE_ORDER #endif #else |