From: Paul Monson <paulmon@users.noreply.github.com> Date: Fri, 17 May 2019 17:08:55 +0000 (-0700) Subject: bpo-36942 Windows build changes for Windows ARM64 (GH-13366) X-Git-Tag: v3.8.0b1~327 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3ea702eca17c4ab5209d823fac2463307dde0633;p=python bpo-36942 Windows build changes for Windows ARM64 (GH-13366) --- diff --git a/PC/pyconfig.h b/PC/pyconfig.h index 6f8fda6623..a74ee98a75 100644 --- a/PC/pyconfig.h +++ b/PC/pyconfig.h @@ -122,6 +122,9 @@ WIN32 is still required for the locale module. #if defined(_M_X64) || defined(_M_AMD64) #if defined(__INTEL_COMPILER) #define COMPILER ("[ICC v." _Py_STRINGIZE(__INTEL_COMPILER) " 64 bit (amd64) with MSC v." _Py_STRINGIZE(_MSC_VER) " CRT]") +#elif defined(_M_ARM64) +#define COMPILER _Py_PASTE_VERSION("64 bit (ARM)") +#define PYD_PLATFORM_TAG "win_arm64" #else #define COMPILER _Py_PASTE_VERSION("64 bit (AMD64)") #endif /* __INTEL_COMPILER */