From 03fb09932b9882f896a5f20ecda71d194fa40504 Mon Sep 17 00:00:00 2001 From: Miradham Kamilov Date: Tue, 19 Dec 2017 14:01:58 +0900 Subject: [PATCH] Add support for Windows ARM64 build --- src/google/protobuf/stubs/platform_macros.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/google/protobuf/stubs/platform_macros.h b/src/google/protobuf/stubs/platform_macros.h index 7a54060df..c3a64dd2b 100644 --- a/src/google/protobuf/stubs/platform_macros.h +++ b/src/google/protobuf/stubs/platform_macros.h @@ -50,6 +50,9 @@ #elif defined(_M_ARM) || defined(__ARMEL__) #define GOOGLE_PROTOBUF_ARCH_ARM 1 #define GOOGLE_PROTOBUF_ARCH_32_BIT 1 +#elif defined(_M_ARM64) +#define GOOGLE_PROTOBUF_ARCH_ARM 1 +#define GOOGLE_PROTOBUF_ARCH_64_BIT 1 #elif defined(__aarch64__) #define GOOGLE_PROTOBUF_ARCH_AARCH64 1 #define GOOGLE_PROTOBUF_ARCH_64_BIT 1