diff options
Diffstat (limited to 'src/system/ByteOrder.hxx')
-rw-r--r-- | src/system/ByteOrder.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/system/ByteOrder.hxx b/src/system/ByteOrder.hxx index 42181fe2c..6f0d291c7 100644 --- a/src/system/ByteOrder.hxx +++ b/src/system/ByteOrder.hxx @@ -40,7 +40,7 @@ /* well-known big-endian */ # define IS_LITTLE_ENDIAN false # define IS_BIG_ENDIAN true -#elif defined(__APPLE__) +#elif defined(__APPLE__) || defined(__NetBSD__) /* compile-time check for MacOS */ # include <machine/endian.h> # if BYTE_ORDER == LITTLE_ENDIAN |