summaryrefslogtreecommitdiffstats
path: root/Modules/_abc.c
diff options
context:
space:
mode:
Diffstat (limited to 'Modules/_abc.c')
-rw-r--r--Modules/_abc.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/Modules/_abc.c b/Modules/_abc.c
index 8aa6835..b7465c3 100644
--- a/Modules/_abc.c
+++ b/Modules/_abc.c
@@ -1,4 +1,7 @@
/* ABCMeta implementation */
+#ifndef Py_BUILD_CORE_BUILTIN
+# define Py_BUILD_CORE_MODULE 1
+#endif
#include "Python.h"
#include "pycore_moduleobject.h" // _PyModule_GetState()