summaryrefslogtreecommitdiff
path: root/src/plot.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/plot.h')
-rw-r--r--src/plot.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plot.h b/src/plot.h
index 2beca42..2fd2ebf 100644
--- a/src/plot.h
+++ b/src/plot.h
@@ -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