system/ByteOrder: gssupport non-x86 NetBSD
This commit is contained in:

committed by
Max Kellermann

parent
4204d4928b
commit
de0752fd56
@@ -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
|
||||
|
Reference in New Issue
Block a user