mirror of
https://github.com/python/cpython.git
synced 2025-09-10 02:36:56 +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
|
@ -293,7 +293,7 @@ do_mkvalue(p_format, p_va)
|
|||
|
||||
#if HAVE_LONG_LONG
|
||||
case 'L':
|
||||
return PyLong_FromLongLong((long long)va_arg(*p_va, long long));
|
||||
return PyLong_FromLongLong((LONG_LONG)va_arg(*p_va, LONG_LONG));
|
||||
#endif
|
||||
|
||||
case 'f':
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue