[Python-checkins] r55976 - python/branches/release25-maint/PC/pyconfig.h

martin.v.loewis python-checkins at python.org
Thu Jun 14 22:47:16 CEST 2007


Author: martin.v.loewis
Date: Thu Jun 14 22:47:15 2007
New Revision: 55976

Modified:
   python/branches/release25-maint/PC/pyconfig.h
Log:
Patch #1734014: Use _I64_MAX instead of LLONG_MAX.


Modified: python/branches/release25-maint/PC/pyconfig.h
==============================================================================
--- python/branches/release25-maint/PC/pyconfig.h	(original)
+++ python/branches/release25-maint/PC/pyconfig.h	Thu Jun 14 22:47:15 2007
@@ -262,9 +262,9 @@
 #define HAVE_LONG_LONG 1
 #ifndef PY_LONG_LONG
 #	define PY_LONG_LONG __int64
-#	define PY_LLONG_MAX LLONG_MAX
-#	define PY_LLONG_MIN LLONG_MIN
-#	define PY_ULLONG_MAX ULLONG_MAX
+#	define PY_LLONG_MAX _I64_MAX
+#	define PY_LLONG_MIN _I64_MIN
+#	define PY_ULLONG_MAX _UI64_MAX
 #endif
 
 /* For Windows the Python core is in a DLL by default.  Test


More information about the Python-checkins mailing list