Skip to content

Commit

Permalink
[CI] fix Windows UWP arm64 build - thanks @AlwinEsch
Browse files Browse the repository at this point in the history
  • Loading branch information
flubshi committed Apr 25, 2020
1 parent 5aa1ef4 commit ee0956c
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions depends/common/rapidjson/0002-fix-win-uwp-arm64.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
--- a/include/rapidjson/rapidjson.h
+++ b/include/rapidjson/rapidjson.h
@@ -236,7 +236,7 @@
# define RAPIDJSON_ENDIAN RAPIDJSON_BIGENDIAN
# elif defined(__i386__) || defined(__alpha__) || defined(__ia64) || defined(__ia64__) || defined(_M_IX86) || defined(_M_IA64) || defined(_M_ALPHA) || defined(__amd64) || defined(__amd64__
# define RAPIDJSON_ENDIAN RAPIDJSON_LITTLEENDIAN
-# elif defined(_MSC_VER) && defined(_M_ARM)
+# elif defined(_MSC_VER) && (defined(_M_ARM) || defined(_M_ARM64))
# define RAPIDJSON_ENDIAN RAPIDJSON_LITTLEENDIAN
# elif defined(RAPIDJSON_DOXYGEN_RUNNING)
# define RAPIDJSON_ENDIAN

0 comments on commit ee0956c

Please sign in to comment.