diff options
author | Martin v. Löwis <martin@v.loewis.de> | 2007-06-14 20:46:25 (GMT) |
---|---|---|
committer | Martin v. Löwis <martin@v.loewis.de> | 2007-06-14 20:46:25 (GMT) |
commit | da073e1601570afa317add6a31b3aa4c94f8495d (patch) | |
tree | d32cfc742d5b7cc4f1973de627da073379d8cd3b /PC | |
parent | 84a3efec37bb97877f247b3e462bc48432e09b9f (diff) | |
download | cpython-da073e1601570afa317add6a31b3aa4c94f8495d.zip cpython-da073e1601570afa317add6a31b3aa4c94f8495d.tar.gz cpython-da073e1601570afa317add6a31b3aa4c94f8495d.tar.bz2 |
Patch #1734014: Use _I64_MAX instead of LLONG_MAX.
Will backport to 2.5.
Diffstat (limited to 'PC')
-rw-r--r-- | PC/pyconfig.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/PC/pyconfig.h b/PC/pyconfig.h index 4597db0..cc3c3dd 100644 --- a/PC/pyconfig.h +++ b/PC/pyconfig.h @@ -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 |