summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2016-09-04 15:18:14 +0100
committerVincent Sanders <vince@kyllikki.org>2016-09-04 15:18:14 +0100
commit6742ef25b910a3a69cce5c9bfd8b9a64b8e7f121 (patch)
tree439ce2b97ae69cb1ca5acf600abed9e3065d5e7f
parentbce2c233988e86ad034f6e0c8b96385db0d47a2e (diff)
downloadlibnsfb-6742ef25b910a3a69cce5c9bfd8b9a64b8e7f121.tar.gz
libnsfb-6742ef25b910a3a69cce5c9bfd8b9a64b8e7f121.tar.bz2
use correct macro to detect mac os x
-rw-r--r--src/plot.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plot.h b/src/plot.h
index 65ef264..2beca42 100644
--- a/src/plot.h
+++ b/src/plot.h
@@ -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