]> granicus.if.org Git - python/commitdiff
Replace long long with PY_LONG_LONG
authorMark Dickinson <dickinsm@gmail.com>
Wed, 28 Oct 2009 07:23:49 +0000 (07:23 +0000)
committerMark Dickinson <dickinsm@gmail.com>
Wed, 28 Oct 2009 07:23:49 +0000 (07:23 +0000)
Modules/_io/_iomodule.h

index 5daf2e22b510da02a00e91cc02e3792638e06357..b1a4c486499fab7bec9890b1b556814a2cbd9ae4 100644 (file)
@@ -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