From: Paul Monson 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: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=3ea702eca17c4ab5209d823fac2463307dde0633;p=thirdparty%2FPython%2Fcpython.git bpo-36942 Windows build changes for Windows ARM64 (GH-13366) --- diff --git a/PC/pyconfig.h b/PC/pyconfig.h index 6f8fda66237c..a74ee98a753d 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 */