]> granicus.if.org Git - python/commitdiff
bpo-36942 Windows build changes for Windows ARM64 (GH-13366)
authorPaul Monson <paulmon@users.noreply.github.com>
Fri, 17 May 2019 17:08:55 +0000 (10:08 -0700)
committerSteve Dower <steve.dower@python.org>
Fri, 17 May 2019 17:08:55 +0000 (10:08 -0700)
PC/pyconfig.h

index 6f8fda66237c6ca4dba238d4f5450f2159fa86e6..a74ee98a753d8803b1f62329aef85baf50fe6d1f 100644 (file)
@@ -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 */