diff options
author | Vincent Sanders <vince@kyllikki.org> | 2016-09-04 15:18:14 +0100 |
---|---|---|
committer | Vincent Sanders <vince@kyllikki.org> | 2016-09-04 15:18:14 +0100 |
commit | 6742ef25b910a3a69cce5c9bfd8b9a64b8e7f121 (patch) | |
tree | 439ce2b97ae69cb1ca5acf600abed9e3065d5e7f | |
parent | bce2c233988e86ad034f6e0c8b96385db0d47a2e (diff) | |
download | libnsfb-6742ef25b910a3a69cce5c9bfd8b9a64b8e7f121.tar.gz libnsfb-6742ef25b910a3a69cce5c9bfd8b9a64b8e7f121.tar.bz2 |
use correct macro to detect mac os x
-rw-r--r-- | src/plot.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -29,8 +29,8 @@ #if __BYTE_ORDER__ == __ORDER_BIG_ENDIAN__ #define NSFB_BE_BYTE_ORDER #endif -#elif defined(OS_MACOSX) -/* mac os x has the include somewhere different */ +#elif defined(__APPLE__) + /* mac os x has the include somewhere different */ #include <machine/endian.h> #if BYTE_ORDER == BIG_ENDIAN #define NSFB_BE_BYTE_ORDER |