bpo-36942 Windows build changes for Windows ARM64 (GH-13366)

This commit is contained in:
Paul Monson 2019-05-17 10:08:55 -07:00 committed by Steve Dower
parent f96e7fd924
commit 3ea702eca1
1 changed files with 3 additions and 0 deletions

View 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 */