From: Mark Dickinson Date: Fri, 16 Jan 2009 19:31:13 +0000 (+0000) Subject: Define PY_SSIZE_T_CLEAN at the top of the dbm module. This should fix the X-Git-Tag: v3.1a1~504 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=fdaa3a303db5f353e1c1a3f599a3a5049b693003;p=python Define PY_SSIZE_T_CLEAN at the top of the dbm module. This should fix the segfaults on the PPC64/Debian buildbots. --- diff --git a/Modules/_dbmmodule.c b/Modules/_dbmmodule.c index 57755111a6..80c73bf0da 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