system/ByteOrder: gssupport non-x86 NetBSD

This commit is contained in:
Thomas Klausner 2015-04-05 16:29:48 -07:00 committed by Max Kellermann
parent 4204d4928b
commit de0752fd56
2 changed files with 2 additions and 1 deletions

1
NEWS
View File

@ -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)

View File

@ -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