From de0752fd566b3cf6ee0813bfe00808f9766f832c Mon Sep 17 00:00:00 2001 From: Thomas Klausner Date: Sun, 5 Apr 2015 16:29:48 -0700 Subject: system/ByteOrder: gssupport non-x86 NetBSD --- NEWS | 1 + src/system/ByteOrder.hxx | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/NEWS b/NEWS index 33ab0f476..1f6ce52a1 100644 --- a/NEWS +++ b/NEWS @@ -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 # if BYTE_ORDER == LITTLE_ENDIAN -- cgit v1.2.3