summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorMark Dickinson <dickinsm@gmail.com>2009-10-28 07:23:49 (GMT)
committerMark Dickinson <dickinsm@gmail.com>2009-10-28 07:23:49 (GMT)
commit791181b0fff18a59cc6661462cd393bee6f76182 (patch)
tree343b5008ef1fce7f30d2b2a33f0e1ccb87e9dc7a /Modules
parentc9dbca8d63f1ca887fc0c044580eb5e8c992bd85 (diff)
downloadcpython-791181b0fff18a59cc6661462cd393bee6f76182.zip
cpython-791181b0fff18a59cc6661462cd393bee6f76182.tar.gz
cpython-791181b0fff18a59cc6661462cd393bee6f76182.tar.bz2
Replace long long with PY_LONG_LONG
Diffstat (limited to 'Modules')
-rw-r--r--Modules/_io/_iomodule.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/_io/_iomodule.h b/Modules/_io/_iomodule.h
index 5daf2e2..b1a4c48 100644
--- a/Modules/_io/_iomodule.h
+++ b/Modules/_io/_iomodule.h
@@ -92,7 +92,7 @@ typedef PY_LONG_LONG Py_off_t;
# define PY_OFF_T_MAX PY_LLONG_MAX
# define PY_OFF_T_MIN PY_LLONG_MIN
# define PY_PRIdOFF "lld" /* format to use in printf with type off_t */
-# define PY_OFF_T_COMPAT long long /* standard type compatible with off_t */
+# define PY_OFF_T_COMPAT PY_LONG_LONG /* type compatible with off_t */
#else
/* Other platforms use off_t */
@@ -103,7 +103,7 @@ typedef off_t Py_off_t;
# define PY_OFF_T_MAX PY_LLONG_MAX
# define PY_OFF_T_MIN PY_LLONG_MIN
# define PY_PRIdOFF "lld"
-# define PY_OFF_T_COMPAT long long
+# define PY_OFF_T_COMPAT PY_LONG_LONG
#elif (SIZEOF_OFF_T == SIZEOF_LONG)
# define PyLong_AsOff_t PyLong_AsLong
# define PyLong_FromOff_t PyLong_FromLong