Bug 1485696 - add aarch64 windows support to ipc's build_config.h; r=jld
authorNathan Froyd <froydnj@mozilla.com>
Thu, 23 Aug 2018 13:27:57 -0400
changeset 831141 7708abde9c7581d1013843ed19aa4c67edd4e518
parent 831140 1d0c2d31df1e988a334a3cada9eb5113f1610e69
child 831142 249688402db2fea2a16fb6eb4d6de33abf5bd1c4
push id118868
push userbmo:zjz@zjz.name
push dateFri, 24 Aug 2018 07:04:39 +0000
reviewersjld
bugs1485696
milestone63.0a1
Bug 1485696 - add aarch64 windows support to ipc's build_config.h; r=jld
ipc/chromium/src/build/build_config.h
--- a/ipc/chromium/src/build/build_config.h
+++ b/ipc/chromium/src/build/build_config.h
@@ -112,17 +112,17 @@
 #define ARCH_CPU_S390 1
 #define ARCH_CPU_32_BITS 1
 #elif defined(__sh__)
 #define ARCH_CPU_SH 1
 #define ARCH_CPU_32_BITS 1
 #elif defined(__alpha__)
 #define ARCH_CPU_ALPHA 1
 #define ARCH_CPU_64_BITS 1
-#elif defined(__aarch64__)
+#elif defined(__aarch64__) || defined(_M_ARM64)
 #define ARCH_CPU_ARM_FAMILY 1
 #define ARCH_CPU_ARM64 1
 #define ARCH_CPU_64_BITS 1
 #else
 #error Please add support for your architecture in build/build_config.h
 #endif
 
 // Type detection for wchar_t.