Skip to content

Commit b0ff827

Browse files
committed
Add define Py_BUILD_CORE to Modules/_io/fileio.c
Fixes _Py_*_SUPPRESS_IPH not found error but defined in pyport.h Signed-off-by: Mingde (Matthew) Zeng <[email protected]>
1 parent 3c4576e commit b0ff827

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Modules/_io/fileio.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
/* Author: Daniel Stutzbach */
22

3+
// Fixes _Py_*_SUPPRESS_IPH not found error but defined in pyport.h
4+
#define Py_BUILD_CORE
35
#define PY_SSIZE_T_CLEAN
46
#include "Python.h"
57
#ifdef HAVE_SYS_TYPES_H

0 commit comments

Comments
 (0)