Skip to content

Commit 4c0bf2c

Browse files
Fix build on macOS.
1 parent 61592f4 commit 4c0bf2c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Modules/resource.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
#ifndef Py_BUILD_CORE_BUILTIN
2+
# define Py_BUILD_CORE_MODULE 1
3+
#endif
4+
15
#include "Python.h"
26
#include <errno.h> // errno
37
#include <string.h>

0 commit comments

Comments
 (0)