system/ByteOrder: gssupport non-x86 NetBSD
This commit is contained in:
parent
4204d4928b
commit
de0752fd56
1
NEWS
1
NEWS
|
@ -4,6 +4,7 @@ ver 0.19.19 (not yet released)
|
||||||
- wildmidi: support libWildMidi 0.4
|
- wildmidi: support libWildMidi 0.4
|
||||||
* output
|
* output
|
||||||
- pulse: support 32 bit, 24 bit and floating point playback
|
- pulse: support 32 bit, 24 bit and floating point playback
|
||||||
|
* support non-x86 NetBSD
|
||||||
* fix clang 3.9 warnings
|
* fix clang 3.9 warnings
|
||||||
|
|
||||||
ver 0.19.18 (2016/08/05)
|
ver 0.19.18 (2016/08/05)
|
||||||
|
|
|
@ -40,7 +40,7 @@
|
||||||
/* well-known big-endian */
|
/* well-known big-endian */
|
||||||
# define IS_LITTLE_ENDIAN false
|
# define IS_LITTLE_ENDIAN false
|
||||||
# define IS_BIG_ENDIAN true
|
# define IS_BIG_ENDIAN true
|
||||||
#elif defined(__APPLE__)
|
#elif defined(__APPLE__) || defined(__NetBSD__)
|
||||||
/* compile-time check for MacOS */
|
/* compile-time check for MacOS */
|
||||||
# include <machine/endian.h>
|
# include <machine/endian.h>
|
||||||
# if BYTE_ORDER == LITTLE_ENDIAN
|
# if BYTE_ORDER == LITTLE_ENDIAN
|
||||||
|
|
Loading…
Reference in New Issue