Compile on Windows

This commit is contained in:
loki
2020-01-01 18:47:34 +01:00
parent b5fe713848
commit 1129aa6dfd
9 changed files with 57 additions and 61 deletions

View File

@@ -568,7 +568,8 @@ struct endianness {
defined(__ARMEB__) || \
defined(__THUMBEB__) || \
defined(__AARCH64EB__) || \
defined(_MIBSEB) || defined(__MIBSEB) || defined(__MIBSEB__)
defined(_MIBSEB) || defined(__MIBSEB) || defined(__MIBSEB__) || \
defined(WIN32)
// It's a big-endian target architecture
little = false,
#elif defined(__BYTE_ORDER) && __BYTE_ORDER == __LITTLE_ENDIAN || \