Browse Source

use the proper header for solaris

pull/465/head
Max Lv 9 years ago
parent
commit
e4c0bc9d27
1 changed files with 3 additions and 3 deletions
  1. 6
      libcork/include/libcork/config/solaris.h

6
libcork/include/libcork/config/solaris.h

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

Loading…
Cancel
Save