mirror of https://github.com/python/cpython
Bug #1216: Restore support for Visual Studio 2002.
Will backport to 2.5.
This commit is contained in:
parent
f3ca169bb4
commit
d476a400b4
|
@ -1063,6 +1063,8 @@ Windows
|
||||||
- Conditionalize definition of _CRT_SECURE_NO_DEPRECATE
|
- Conditionalize definition of _CRT_SECURE_NO_DEPRECATE
|
||||||
and _CRT_NONSTDC_NO_DEPRECATE.
|
and _CRT_NONSTDC_NO_DEPRECATE.
|
||||||
|
|
||||||
|
- Bug #1216: Restore support for Visual Studio 2002.
|
||||||
|
|
||||||
|
|
||||||
Mac
|
Mac
|
||||||
---
|
---
|
||||||
|
|
|
@ -377,11 +377,11 @@ Py_NO_ENABLE_SHARED to find out. Also support MS_NO_COREDLL for b/w compat */
|
||||||
define these.
|
define these.
|
||||||
If some compiler does not provide them, modify the #if appropriately. */
|
If some compiler does not provide them, modify the #if appropriately. */
|
||||||
#if defined(_MSC_VER)
|
#if defined(_MSC_VER)
|
||||||
#if _MSC_VER > 1201
|
#if _MSC_VER > 1300
|
||||||
#define HAVE_UINTPTR_T 1
|
#define HAVE_UINTPTR_T 1
|
||||||
#define HAVE_INTPTR_T 1
|
#define HAVE_INTPTR_T 1
|
||||||
#else
|
#else
|
||||||
/* VC6 & eVC4 don't support the C99 LL suffix for 64-bit integer literals */
|
/* VC6, VS 2002 and eVC4 don't support the C99 LL suffix for 64-bit integer literals */
|
||||||
#define Py_LL(x) x##I64
|
#define Py_LL(x) x##I64
|
||||||
#endif /* _MSC_VER > 1200 */
|
#endif /* _MSC_VER > 1200 */
|
||||||
#endif /* _MSC_VER */
|
#endif /* _MSC_VER */
|
||||||
|
|
Loading…
Reference in New Issue