Fixes for Python 3.14

This commit is contained in:
Philippe Teuwen
2026-02-07 01:24:21 +01:00
parent fdf3b2690a
commit cd2c576be6
2 changed files with 6 additions and 0 deletions
+3
View File
@@ -23,6 +23,9 @@
#include <ctype.h>
#ifdef HAVE_PYTHON
#ifdef _POSIX_C_SOURCE
#undef _POSIX_C_SOURCE
#endif
#include <Python.h>
#endif
+3
View File
@@ -20,6 +20,9 @@
#include <string.h>
#ifdef HAVE_PYTHON
#ifdef _POSIX_C_SOURCE
#undef _POSIX_C_SOURCE
#endif
//#define PY_SSIZE_T_CLEAN
#include <Python.h>
#include <ctype.h>