Define PY_SSIZE_T_CLEAN at the top of the dbm module. This should fix the

segfaults on the PPC64/Debian buildbots.
This commit is contained in:
Mark Dickinson 2009-01-16 19:31:13 +00:00
parent 058e31ef2a
commit fdaa3a303d
1 changed files with 1 additions and 0 deletions

View File

@ -2,6 +2,7 @@
/* DBM module using dictionary interface */
#define PY_SSIZE_T_CLEAN
#include "Python.h"
#include <sys/types.h>