mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
Patch by Mark Hammond to support 64-bit ints on MS platforms.
The MS compiler doesn't call it 'long long', it uses __int64, so a new #define, LONG_LONG, has been added and all occurrences of 'long long' are replaced with it.
This commit is contained in:
parent
859b407cf1
commit
3293b07df5
5 changed files with 38 additions and 33 deletions
|
@ -85,6 +85,8 @@ typedef int pid_t;
|
|||
#define DL_IMPORT(RTYPE) __declspec(dllexport) RTYPE
|
||||
#endif
|
||||
|
||||
#define HAVE_LONG_LONG 1
|
||||
#define LONG_LONG __int64
|
||||
#endif /* _MSC_VER && > 850 */
|
||||
|
||||
#if defined(_MSC_VER) && _MSC_VER <= 850
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue