chiark / gitweb /
*.c: Declare `PY_SSIZE_T_CLEAN'.
[catacomb-python] / catacomb-python.h
index 0949562de460e319ec89a0ff319e26095e13c693..77c7eae4ab878c689ff309e75fc181bf7e52d2b2 100644 (file)
@@ -33,6 +33,8 @@
 
 /*----- Header files ------------------------------------------------------*/
 
+#define PY_SSIZE_T_CLEAN
+
 #include <Python.h>
 #include <longintrepr.h>
 #include <structmember.h>