diff options
Diffstat (limited to 'Include/internal/pycore_gil.h')
-rw-r--r-- | Include/internal/pycore_gil.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Include/internal/pycore_gil.h b/Include/internal/pycore_gil.h index 5059850..014e75f 100644 --- a/Include/internal/pycore_gil.h +++ b/Include/internal/pycore_gil.h @@ -4,6 +4,10 @@ extern "C" { #endif +#if !defined(Py_BUILD_CORE) && !defined(Py_BUILD_CORE_BUILTIN) +# error "this header requires Py_BUILD_CORE or Py_BUILD_CORE_BUILTIN define" +#endif + #include "pycore_condvar.h" #include "pycore_atomic.h" |