use the proper header for solaris

This commit is contained in:
Max Lv
2015-11-16 12:22:49 +08:00
parent befbe94bd9
commit e4c0bc9d27
+3 -3
View File
@@ -15,12 +15,12 @@
* Endianness
*/
#include <sys/endian.h>
#include <sys/isa_defs.h>
#if BYTE_ORDER == BIG_ENDIAN
#if defined(_BIG_ENDIAN)
#define CORK_CONFIG_IS_BIG_ENDIAN 1
#define CORK_CONFIG_IS_LITTLE_ENDIAN 0
#elif BYTE_ORDER == LITTLE_ENDIAN
#elif defined(_LITTLE_ENDIAN)
#define CORK_CONFIG_IS_BIG_ENDIAN 0
#define CORK_CONFIG_IS_LITTLE_ENDIAN 1
#else