summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/plot.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plot.h b/src/plot.h
index a151b96..db60ea9 100644
--- a/src/plot.h
+++ b/src/plot.h
@@ -38,8 +38,8 @@
#elif defined(__FreeBSD__)
/* freebsd has the include somewhere different */
#include <machine/endian.h>
- #if defined(BYTE_ORDER)
- #if BYTE_ORDER == BIG_ENDIAN
+ #if defined(_BYTE_ORDER)
+ #if _BYTE_ORDER == _BIG_ENDIAN
#define NSFB_BE_BYTE_ORDER
#endif
#else