Skip to content

Commit 2ab3e1d

Browse files
committed
Make use of macro _Py_ID possible to pyexpat
1 parent a5d026a commit 2ab3e1d

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Modules/pyexpat.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
1+
#ifndef Py_BUILD_CORE_BUILTIN
2+
# define Py_BUILD_CORE_MODULE 1
3+
#endif
4+
15
#include "Python.h"
6+
#include "pycore_runtime.h" // _Py_ID()
27
#include <ctype.h>
38

49
#include <stdbool.h>

0 commit comments

Comments
 (0)