diff options
Diffstat (limited to 'Include/internal/pycore_condvar.h')
-rw-r--r-- | Include/internal/pycore_condvar.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Include/internal/pycore_condvar.h b/Include/internal/pycore_condvar.h index f933089..a12b699 100644 --- a/Include/internal/pycore_condvar.h +++ b/Include/internal/pycore_condvar.h @@ -1,6 +1,10 @@ #ifndef Py_INTERNAL_CONDVAR_H #define Py_INTERNAL_CONDVAR_H +#if !defined(Py_BUILD_CORE) && !defined(Py_BUILD_CORE_BUILTIN) +# error "this header requires Py_BUILD_CORE or Py_BUILD_CORE_BUILTIN define" +#endif + #ifndef _POSIX_THREADS /* This means pthreads are not implemented in libc headers, hence the macro not present in unistd.h. But they still can be implemented as an external |