summaryrefslogtreecommitdiff
path: root/PC/pyconfig.h
diff options
context:
space:
mode:
authorZachary Ware <zachary.ware@gmail.com>2015-08-29 00:13:14 -0500
committerZachary Ware <zachary.ware@gmail.com>2015-08-29 00:13:14 -0500
commit06254df0ef6ce54818a6f50a44ced362afca9fc2 (patch)
tree62fc727c4f1e476b9a53f6c2b1622d09def1e704 /PC/pyconfig.h
parentbd6d34896b2ac9e8418987d3148fa91a0f72658b (diff)
parent7aefc750b039be598f17b9b55c033ec6a1ffcd26 (diff)
downloadcpython-06254df0ef6ce54818a6f50a44ced362afca9fc2.tar.gz
Closes #24953: Merge with 3.5
Diffstat (limited to 'PC/pyconfig.h')
-rw-r--r--PC/pyconfig.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/PC/pyconfig.h b/PC/pyconfig.h
index 40c93053be..8861148061 100644
--- a/PC/pyconfig.h
+++ b/PC/pyconfig.h
@@ -147,7 +147,11 @@ WIN32 is still required for the locale module.
#define MS_WINI64
#define PYD_PLATFORM_TAG "win_ia64"
#elif 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]")
+#else
#define COMPILER _Py_PASTE_VERSION("64 bit (AMD64)")
+#endif /* __INTEL_COMPILER */
#define MS_WINX64
#define PYD_PLATFORM_TAG "win_amd64"
#else
@@ -194,7 +198,11 @@ typedef _W64 int ssize_t;
#if defined(MS_WIN32) && !defined(MS_WIN64)
#if defined(_M_IX86)
+#if defined(__INTEL_COMPILER)
+#define COMPILER ("[ICC v." _Py_STRINGIZE(__INTEL_COMPILER) " 32 bit (Intel) with MSC v." _Py_STRINGIZE(_MSC_VER) " CRT]")
+#else
#define COMPILER _Py_PASTE_VERSION("32 bit (Intel)")
+#endif /* __INTEL_COMPILER */
#define PYD_PLATFORM_TAG "win32"
#elif defined(_M_ARM)
#define COMPILER _Py_PASTE_VERSION("32 bit (ARM)")