diff options
author | Brett Cannon <bcannon@gmail.com> | 2006-05-11 05:11:33 (GMT) |
---|---|---|
committer | Brett Cannon <bcannon@gmail.com> | 2006-05-11 05:11:33 (GMT) |
commit | 09d1236b89390321a447717d32442b65c8f81105 (patch) | |
tree | a5d4a665a96c665535f6801f3914c141ad4fca5a /pyconfig.h.in | |
parent | dd0c31270310403a3a5c28db65af54a23829476f (diff) | |
download | cpython-09d1236b89390321a447717d32442b65c8f81105.zip cpython-09d1236b89390321a447717d32442b65c8f81105.tar.gz cpython-09d1236b89390321a447717d32442b65c8f81105.tar.bz2 |
Detect if %zd is supported by printf() during configure and sets
PY_FORMAT_SIZE_T appropriately. Removes warnings on
OS X under gcc 4.0.1 when PY_FORMAT_SIZE_T is set to "" instead of "z" as is
needed.
Diffstat (limited to 'pyconfig.h.in')
-rw-r--r-- | pyconfig.h.in | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/pyconfig.h.in b/pyconfig.h.in index 886b336..acbbd8d 100644 --- a/pyconfig.h.in +++ b/pyconfig.h.in @@ -727,6 +727,9 @@ /* Defined if PTHREAD_SCOPE_SYSTEM supported. */ #undef PTHREAD_SYSTEM_SCHED_SUPPORTED +/* Define to printf format modifier for Py_ssize_t */ +#undef PY_FORMAT_SIZE_T + /* Define as the integral type used for Unicode representation. */ #undef PY_UNICODE_TYPE |