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 | |
parent | 4204d4928be664377385f679b7c0915133238ade (diff) |
system/ByteOrder: gssupport non-x86 NetBSD
-rw-r--r-- | NEWS | 1 | ||||
-rw-r--r-- | src/system/ByteOrder.hxx | 2 |
2 files changed, 2 insertions, 1 deletions
@@ -4,6 +4,7 @@ ver 0.19.19 (not yet released) - wildmidi: support libWildMidi 0.4 * output - pulse: support 32 bit, 24 bit and floating point playback +* support non-x86 NetBSD * fix clang 3.9 warnings ver 0.19.18 (2016/08/05) 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 |