File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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)")
You can’t perform that action at this time.
0 commit comments