File tree Expand file tree Collapse file tree 3 files changed +7
-0
lines changed
Expand file tree Collapse file tree 3 files changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -125,6 +125,7 @@ bytes(cdata)
125125#include "ctypes.h"
126126
127127#include "pycore_long.h" // _PyLong_GetZero()
128+ #include "pycore_pyerrors.h" // _PyErr_SetLocaleString()
128129
129130ctypes_state global_state ;
130131
Original file line number Diff line number Diff line change 9696#define DONT_USE_SEH
9797#endif
9898
99+ #include "pycore_pyerrors.h" // _PyErr_SetLocaleString()
99100#include "pycore_runtime.h" // _PyRuntime
100101#include "pycore_global_objects.h" // _Py_ID()
101102
Original file line number Diff line number Diff line change 33/* Author: Anthony Baxter, after dbmmodule.c */
44/* Doc strings: Mitch Chapman */
55
6+ // required for pycore_pyerrors.h
7+ #ifndef Py_BUILD_CORE_BUILTIN
8+ # define Py_BUILD_CORE_MODULE 1
9+ #endif
10+
611#define PY_SSIZE_T_CLEAN
712#include "Python.h"
813#include "pycore_pyerrors.h" // _PyErr_SetLocaleString()
You can’t perform that action at this time.
0 commit comments