Fixed compile errors when building with MinGW on Windows

This commit is contained in:
Fred Nicolson 2018-03-28 10:37:04 +01:00
parent 27d02ca055
commit bdc7235246

View File

@ -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)