summaryrefslogtreecommitdiffstats
path: root/Include/internal/pycore_pathconfig.h
diff options
context:
space:
mode:
Diffstat (limited to 'Include/internal/pycore_pathconfig.h')
-rw-r--r--Include/internal/pycore_pathconfig.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Include/internal/pycore_pathconfig.h b/Include/internal/pycore_pathconfig.h
index 00d7bbf..267e690 100644
--- a/Include/internal/pycore_pathconfig.h
+++ b/Include/internal/pycore_pathconfig.h
@@ -4,8 +4,8 @@
extern "C" {
#endif
-#ifndef Py_BUILD_CORE
-# error "Py_BUILD_CORE must be defined to include this header"
+#if !defined(Py_BUILD_CORE) && !defined(Py_BUILD_CORE_BUILTIN)
+# error "this header requires Py_BUILD_CORE or Py_BUILD_CORE_BUILTIN define"
#endif
PyAPI_FUNC(void) _Py_wstrlist_clear(