Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 95c0646

Browse files
committed
Closes #24953: Merge with 3.5
2 parents 357cb98 + 7503ca7 commit 95c0646

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

PC/pyconfig.h

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,11 @@ WIN32 is still required for the locale module.
147147
#define MS_WINI64
148148
#define PYD_PLATFORM_TAG "win_ia64"
149149
#elif defined(_M_X64) || defined(_M_AMD64)
150+
#if defined(__INTEL_COMPILER)
151+
#define COMPILER ("[ICC v." _Py_STRINGIZE(__INTEL_COMPILER) " 64 bit (amd64) with MSC v." _Py_STRINGIZE(_MSC_VER) " CRT]")
152+
#else
150153
#define COMPILER _Py_PASTE_VERSION("64 bit (AMD64)")
154+
#endif /* __INTEL_COMPILER */
151155
#define MS_WINX64
152156
#define PYD_PLATFORM_TAG "win_amd64"
153157
#else
@@ -194,7 +198,11 @@ typedef _W64 int ssize_t;
194198

195199
#if defined(MS_WIN32) && !defined(MS_WIN64)
196200
#if defined(_M_IX86)
201+
#if defined(__INTEL_COMPILER)
202+
#define COMPILER ("[ICC v." _Py_STRINGIZE(__INTEL_COMPILER) " 32 bit (Intel) with MSC v." _Py_STRINGIZE(_MSC_VER) " CRT]")
203+
#else
197204
#define COMPILER _Py_PASTE_VERSION("32 bit (Intel)")
205+
#endif /* __INTEL_COMPILER */
198206
#define PYD_PLATFORM_TAG "win32"
199207
#elif defined(_M_ARM)
200208
#define COMPILER _Py_PASTE_VERSION("32 bit (ARM)")

0 commit comments

Comments
 (0)