mirror of
https://github.com/shadowsocks/shadowsocks-libev.git
synced 2026-10-22 15:16:58 +00:00
Use internal BIG_ENDIAN check
This commit is contained in:
+1
-1
@@ -229,7 +229,7 @@ void *ss_realloc(void *ptr, size_t new_size);
|
||||
ptr = NULL; \
|
||||
} while (0)
|
||||
|
||||
#if BYTE_ORDER == BIG_ENDIAN
|
||||
#ifdef WORDS_BIGENDIAN
|
||||
|
||||
#define CT_HTONS(n) (n)
|
||||
#define CT_NTOHS(n) (n)
|
||||
|
||||
Reference in New Issue
Block a user