diff options
author | Mark Dickinson <dickinsm@gmail.com> | 2009-01-16 19:31:13 (GMT) |
---|---|---|
committer | Mark Dickinson <dickinsm@gmail.com> | 2009-01-16 19:31:13 (GMT) |
commit | fdaa3a303db5f353e1c1a3f599a3a5049b693003 (patch) | |
tree | 944edc11d2108a55c5251df2e16c8a35c04f5b5d /Modules/_dbmmodule.c | |
parent | 058e31ef2aec3ea079cdf297fc0d4f40d3d9975a (diff) | |
download | cpython-fdaa3a303db5f353e1c1a3f599a3a5049b693003.zip cpython-fdaa3a303db5f353e1c1a3f599a3a5049b693003.tar.gz cpython-fdaa3a303db5f353e1c1a3f599a3a5049b693003.tar.bz2 |
Define PY_SSIZE_T_CLEAN at the top of the dbm module. This should fix the
segfaults on the PPC64/Debian buildbots.
Diffstat (limited to 'Modules/_dbmmodule.c')
-rw-r--r-- | Modules/_dbmmodule.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Modules/_dbmmodule.c b/Modules/_dbmmodule.c index 5775511..80c73bf 100644 --- a/Modules/_dbmmodule.c +++ b/Modules/_dbmmodule.c @@ -2,6 +2,7 @@ /* DBM module using dictionary interface */ +#define PY_SSIZE_T_CLEAN #include "Python.h" #include <sys/types.h> |