summaryrefslogtreecommitdiffstats
path: root/PC
diff options
context:
space:
mode:
authorPaul Monson <paulmon@users.noreply.github.com>2019-05-17 17:08:55 (GMT)
committerSteve Dower <steve.dower@python.org>2019-05-17 17:08:55 (GMT)
commit3ea702eca17c4ab5209d823fac2463307dde0633 (patch)
tree94f8b7d76465d3d29ba5246d82b89fe7531391d3 /PC
parentf96e7fd9240c1ce13f52bd3ba81f58b2511d89c3 (diff)
downloadcpython-3ea702eca17c4ab5209d823fac2463307dde0633.zip
cpython-3ea702eca17c4ab5209d823fac2463307dde0633.tar.gz
cpython-3ea702eca17c4ab5209d823fac2463307dde0633.tar.bz2
bpo-36942 Windows build changes for Windows ARM64 (GH-13366)
Diffstat (limited to 'PC')
-rw-r--r--PC/pyconfig.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/PC/pyconfig.h b/PC/pyconfig.h
index 6f8fda6..a74ee98 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 */