]> granicus.if.org Git - python/commitdiff
Patch #1734014: Use _I64_MAX instead of LLONG_MAX.
authorMartin v. Löwis <martin@v.loewis.de>
Thu, 14 Jun 2007 20:46:25 +0000 (20:46 +0000)
committerMartin v. Löwis <martin@v.loewis.de>
Thu, 14 Jun 2007 20:46:25 +0000 (20:46 +0000)
Will backport to 2.5.

PC/pyconfig.h

index 4597db0de895ae86f90a5aa4929023eedf685e53..cc3c3ddc7e9a07747449fdd89882946e2edd423b 100644 (file)
@@ -275,9 +275,9 @@ typedef int pid_t;
 #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