Fix format specifier for MSVC

This commit is contained in:
Mark Dickinson 2009-10-28 07:47:32 +00:00
parent 791181b0ff
commit e8486931b6
1 changed files with 1 additions and 1 deletions

View File

@ -91,7 +91,7 @@ typedef PY_LONG_LONG Py_off_t;
# define PyLong_FromOff_t PyLong_FromLongLong # define PyLong_FromOff_t PyLong_FromLongLong
# define PY_OFF_T_MAX PY_LLONG_MAX # define PY_OFF_T_MAX PY_LLONG_MAX
# define PY_OFF_T_MIN PY_LLONG_MIN # define PY_OFF_T_MIN PY_LLONG_MIN
# define PY_PRIdOFF "lld" /* format to use in printf with type off_t */ # define PY_PRIdOFF "I64d" /* format to use in printf with type off_t */
# define PY_OFF_T_COMPAT PY_LONG_LONG /* type compatible with off_t */ # define PY_OFF_T_COMPAT PY_LONG_LONG /* type compatible with off_t */
#else #else