[Python-checkins] r75905 - python/trunk/Modules/_io/_iomodule.h
mark.dickinson
python-checkins at python.org
Wed Oct 28 08:23:49 CET 2009
Author: mark.dickinson
Date: Wed Oct 28 08:23:49 2009
New Revision: 75905
Log:
Replace long long with PY_LONG_LONG
Modified:
python/trunk/Modules/_io/_iomodule.h
Modified: python/trunk/Modules/_io/_iomodule.h
==============================================================================
--- python/trunk/Modules/_io/_iomodule.h (original)
+++ python/trunk/Modules/_io/_iomodule.h Wed Oct 28 08:23:49 2009
@@ -92,7 +92,7 @@
# 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 @@
# 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
More information about the Python-checkins
mailing list