Fixed compile errors when building with MinGW on Windows
This commit is contained in:
parent
27d02ca055
commit
bdc7235246
@ -49,8 +49,8 @@
|
||||
|
||||
#if defined(__GNUC__)
|
||||
# if __BYTE_ORDER == __LITTLE_ENDIAN
|
||||
# define htonll(x) __bswap_64 (x)
|
||||
# define ntohll(x) __bswap_64 (x)
|
||||
# define htonll(x) __builtin_bswap64 (x)
|
||||
# define ntohll(x) __builtin_bswap64 (x)
|
||||
# else
|
||||
# define htonll(x) (x)
|
||||
# define ntohll(x) (x)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user