diff options
author | Thomas Klausner <tk@giga.or.at> | 2015-04-05 16:29:48 -0700 |
---|---|---|
committer | Max Kellermann <max@musicpd.org> | 2016-08-23 10:15:54 +0200 |
commit | de0752fd566b3cf6ee0813bfe00808f9766f832c (patch) | |
tree | 5b0a92b50c85b131a0ffc6e448f0537d5a32a79c /src/system/ByteOrder.hxx | |
parent | 4204d4928be664377385f679b7c0915133238ade (diff) |
system/ByteOrder: gssupport non-x86 NetBSD
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 |