Skip to content

Commit f914058

Browse files
committed
Specifies the endian of msvc ARM64 configuration.
1 parent f05edc9 commit f914058

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/rapidjson/rapidjson.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@
241241
# define RAPIDJSON_ENDIAN RAPIDJSON_BIGENDIAN
242242
# elif defined(__i386__) || defined(__alpha__) || defined(__ia64) || defined(__ia64__) || defined(_M_IX86) || defined(_M_IA64) || defined(_M_ALPHA) || defined(__amd64) || defined(__amd64__) || defined(_M_AMD64) || defined(__x86_64) || defined(__x86_64__) || defined(_M_X64) || defined(__bfin__)
243243
# define RAPIDJSON_ENDIAN RAPIDJSON_LITTLEENDIAN
244-
# elif defined(_MSC_VER) && defined(_M_ARM)
244+
# elif defined(_MSC_VER) && (defined(_M_ARM) || defined(_M_ARM64))
245245
# define RAPIDJSON_ENDIAN RAPIDJSON_LITTLEENDIAN
246246
# elif defined(RAPIDJSON_DOXYGEN_RUNNING)
247247
# define RAPIDJSON_ENDIAN

0 commit comments

Comments
 (0)