mirror of
https://github.com/moonlight-stream/moonlight-common-c.git
synced 2025-08-18 01:15:46 +00:00
Fix MSVC builds
This commit is contained in:
parent
873fc6f837
commit
bced126fdb
@ -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…
x
Reference in New Issue
Block a user