Fix MSVC builds
This commit is contained in:
parent
873fc6f837
commit
bced126fdb
1 changed files with 1 additions and 1 deletions
|
|
@ -80,7 +80,7 @@
|
||||||
#error Please define your platform byteswap macros!
|
#error Please define your platform byteswap macros!
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if (__BYTE_ORDER__ == __ORDER_BIG_ENDIAN__) || defined(__BIG_ENDIAN__)
|
#if (defined(__BYTE_ORDER__) && (__BYTE_ORDER__ == __ORDER_BIG_ENDIAN__)) || defined(__BIG_ENDIAN__)
|
||||||
#define LE16(x) BSWAP16(x)
|
#define LE16(x) BSWAP16(x)
|
||||||
#define LE32(x) BSWAP32(x)
|
#define LE32(x) BSWAP32(x)
|
||||||
#define LE64(x) BSWAP64(x)
|
#define LE64(x) BSWAP64(x)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue