summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2007-06-14 20:47:15 +0000
committerMartin v. Löwis <martin@v.loewis.de>2007-06-14 20:47:15 +0000
commitd3d80f3cd171bf0f75bf8eb698de7e4a3c6f262b (patch)
tree1673187faa0121ca936e03f275a6f4c759300d0c
parent7d18356db73889bf4323ba3d2292ca2a5ceb3889 (diff)
downloadcpython-git-d3d80f3cd171bf0f75bf8eb698de7e4a3c6f262b.tar.gz
Patch #1734014: Use _I64_MAX instead of LLONG_MAX.
-rw-r--r--PC/pyconfig.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/PC/pyconfig.h b/PC/pyconfig.h
index 6c925cf8c3..397b67b6ec 100644
--- a/PC/pyconfig.h
+++ b/PC/pyconfig.h
@@ -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