diff options
author | Vincent Sanders <vince@kyllikki.org> | 2018-09-07 09:39:44 +0100 |
---|---|---|
committer | Vincent Sanders <vince@kyllikki.org> | 2018-09-07 09:39:44 +0100 |
commit | 71d24289c2826b7af51f3001c25fa824ccd043a4 (patch) | |
tree | 5fd3e354e4087ce9bf3f8112c64e79695a57b6b4 | |
parent | c1b8c33fd05dcc9f40fe4996ece9ff4a895813ff (diff) | |
download | libnsfb-71d24289c2826b7af51f3001c25fa824ccd043a4.tar.gz libnsfb-71d24289c2826b7af51f3001c25fa824ccd043a4.tar.bz2 |
freebsd uses single underscore byte ordering macro
-rw-r--r-- | src/plot.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |