Skip to content

Commit 978b4e0

Browse files
johannesugbcalccrypto
authored andcommitted
Updated endianness.h with the version from uint128_t to make it compile with MSVC.
1 parent a6092b5 commit 978b4e0

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

endianness.h

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,13 @@
1414
defined(__ARMEL__) || \
1515
defined(__THUMBEL__) || \
1616
defined(__AARCH64EL__) || \
17-
defined(_MIPSEL) || defined(__MIPSEL) || defined(__MIPSEL__)
17+
defined(_MIPSEL) || defined(__MIPSEL) || defined(__MIPSEL__) || \
18+
defined(_WIN32) || defined(__i386__) || defined(__x86_64__) || \
19+
defined(_X86_) || defined(_IA64_)
1820
#ifndef __LITTLE_ENDIAN__
1921
#define __LITTLE_ENDIAN__
2022
#endif
2123
#else
2224
#error "I don't know what architecture this is!"
2325
#endif
24-
#endif
26+
#endif

0 commit comments

Comments
 (0)