Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
d155d72c
Commit
d155d72c
authored
Aug 28, 2015
by
Zachary Ware
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Issue #24953: Include ICC version in sys.version string when bulit with ICC on Windows
parent
34eab078
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
PC/pyconfig.h
PC/pyconfig.h
+8
-0
No files found.
PC/pyconfig.h
View file @
d155d72c
...
@@ -148,7 +148,11 @@ WIN32 is still required for the locale module.
...
@@ -148,7 +148,11 @@ WIN32 is still required for the locale module.
#define COMPILER _Py_PASTE_VERSION("64 bit (Itanium)")
#define COMPILER _Py_PASTE_VERSION("64 bit (Itanium)")
#define MS_WINI64
#define MS_WINI64
#elif defined(_M_X64) || defined(_M_AMD64)
#elif defined(_M_X64) || defined(_M_AMD64)
#ifdef __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)")
#define COMPILER _Py_PASTE_VERSION("64 bit (AMD64)")
#endif
/* __INTEL_COMPILER */
#define MS_WINX64
#define MS_WINX64
#else
#else
#define COMPILER _Py_PASTE_VERSION("64 bit (Unknown)")
#define COMPILER _Py_PASTE_VERSION("64 bit (Unknown)")
...
@@ -204,7 +208,11 @@ typedef _W64 int ssize_t;
...
@@ -204,7 +208,11 @@ typedef _W64 int ssize_t;
#if defined(MS_WIN32) && !defined(MS_WIN64)
#if defined(MS_WIN32) && !defined(MS_WIN64)
#ifdef _M_IX86
#ifdef _M_IX86
#ifdef __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)")
#define COMPILER _Py_PASTE_VERSION("32 bit (Intel)")
#endif
/* __INTEL_COMPILER */
#else
#else
#define COMPILER _Py_PASTE_VERSION("32 bit (Unknown)")
#define COMPILER _Py_PASTE_VERSION("32 bit (Unknown)")
#endif
#endif
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment