]> 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:47:15 +0000 (20:47 +0000)
committerMartin v. Löwis <martin@v.loewis.de>
Thu, 14 Jun 2007 20:47:15 +0000 (20:47 +0000)
PC/pyconfig.h

index 6c925cf8c383085f433924e7548384c6fae742b5..397b67b6eceff5c3bcefb1accd2ac51b23d113b9 100644 (file)
@@ -262,9 +262,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