From 71d24289c2826b7af51f3001c25fa824ccd043a4 Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Fri, 7 Sep 2018 09:39:44 +0100 Subject: freebsd uses single underscore byte ordering macro --- src/plot.h | 4 ++-- 1 file 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 - #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 -- cgit v1.2.3