mirror of
https://github.com/shadowsocks/shadowsocks-libev.git
synced 2026-10-28 19:53:46 +00:00
use the proper header for solaris
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user