summaryrefslogtreecommitdiffstats
path: root/PC
diff options
context:
space:
mode:
authorPaul Monson <paulmon@users.noreply.github.com>2019-06-12 17:16:49 (GMT)
committerSteve Dower <steve.dower@python.org>2019-06-12 17:16:49 (GMT)
commitdaf62627518ad97ce66a48c49496aa0573cf0731 (patch)
tree463690188a1d1f87ea5b9423e2fdfcab069302a2 /PC
parent5287022eeeb3c017d49fc8580b52e18377bf23f3 (diff)
downloadcpython-daf62627518ad97ce66a48c49496aa0573cf0731.zip
cpython-daf62627518ad97ce66a48c49496aa0573cf0731.tar.gz
cpython-daf62627518ad97ce66a48c49496aa0573cf0731.tar.bz2
bpo-37201: fix test_distutils failures for Windows ARM64 (GH-13902)
Diffstat (limited to 'PC')
-rw-r--r--PC/pyconfig.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/PC/pyconfig.h b/PC/pyconfig.h
index 1225912..9228923 100644
--- a/PC/pyconfig.h
+++ b/PC/pyconfig.h
@@ -122,13 +122,13 @@ 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 */
#define PYD_PLATFORM_TAG "win_amd64"
+#elif defined(_M_ARM64)
+#define COMPILER _Py_PASTE_VERSION("64 bit (ARM64)")
+#define PYD_PLATFORM_TAG "win_arm64"
#else
#define COMPILER _Py_PASTE_VERSION("64 bit (Unknown)")
#endif