Skip to content

Commit

Permalink
Updated endianness.h with the version from uint128_t to make it compi…
Browse files Browse the repository at this point in the history
…le with MSVC.
  • Loading branch information
johannesugb authored and calccrypto committed Apr 5, 2021
1 parent a6092b5 commit 978b4e0
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions endianness.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,13 @@
defined(__ARMEL__) || \
defined(__THUMBEL__) || \
defined(__AARCH64EL__) || \
defined(_MIPSEL) || defined(__MIPSEL) || defined(__MIPSEL__)
defined(_MIPSEL) || defined(__MIPSEL) || defined(__MIPSEL__) || \
defined(_WIN32) || defined(__i386__) || defined(__x86_64__) || \
defined(_X86_) || defined(_IA64_)
#ifndef __LITTLE_ENDIAN__
#define __LITTLE_ENDIAN__
#endif
#else
#error "I don't know what architecture this is!"
#endif
#endif
#endif

0 comments on commit 978b4e0

Please sign in to comment.