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