summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2018-09-07 09:39:44 +0100
committerVincent Sanders <vince@kyllikki.org>2018-09-07 09:39:44 +0100
commit71d24289c2826b7af51f3001c25fa824ccd043a4 (patch)
tree5fd3e354e4087ce9bf3f8112c64e79695a57b6b4
parentc1b8c33fd05dcc9f40fe4996ece9ff4a895813ff (diff)
downloadlibnsfb-master.tar.gz
libnsfb-master.tar.bz2
freebsd uses single underscore byte ordering macroHEADmaster
-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