Skip to content

Commit 80b4bca

Browse files
authored
Merge pull request #235 from philippremy/bits/msvc-arm64
[FIX] Handle endianness check for MSVC ARM[64]
2 parents e6bc8f5 + 90157dd commit 80b4bca

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

src/cctag/utils/pcg_uint128.hpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,8 +72,10 @@
7272
#elif __powerpc__ || __POWERPC__ || __ppc__ || __PPC__ \
7373
|| __m68k__ || __mc68000__
7474
#define PCG_LITTLE_ENDIAN 0
75+
#elif _M_ARM || _M_ARM64 || _M_ARM64EC // MSVC ARM Support
76+
#define PCG_LITTLE_ENDIAN 1
7577
#else
76-
#error Unable to determine target endianness
78+
#error Unable to determine target endianness, please file a bug report
7779
#endif
7880
#endif
7981

0 commit comments

Comments
 (0)