Closed
Description
Bug report
Bug description:
On my local machine, I'm getting this compile error:
In file included from ../../Modules/_testexternalinspection.c:47:
In file included from ../../Include/internal/pycore_runtime.h:12:
In file included from ../../Include/internal/pycore_ceval_state.h:12:
In file included from ../../Include/internal/pycore_gil.h:11:
In file included from ../../Include/internal/pycore_condvar.h:8:
../../Include/internal/pycore_pythread.h:76:46: error: use of undeclared identifier 'PTHREAD_KEYS_MAX'
struct py_stub_tls_entry tls_entries[PTHREAD_KEYS_MAX];
^
In file included from ../../Modules/_testexternalinspection.c:47:
In file included from ../../Include/internal/pycore_runtime.h:12:
In file included from ../../Include/internal/pycore_ceval_state.h:12:
../../Include/internal/pycore_gil.h:14:4: error: You need either a POSIX-compatible or a Windows system!
# error You need either a POSIX-compatible or a Windows system!
^
../../Include/internal/pycore_gil.h:36:5: error: unknown type name 'PyCOND_T'
PyCOND_T cond;
^
../../Include/internal/pycore_gil.h:37:5: error: unknown type name 'PyMUTEX_T'
PyMUTEX_T mutex;
^
../../Include/internal/pycore_gil.h:41:5: error: unknown type name 'PyCOND_T'
PyCOND_T switch_cond;
^
../../Include/internal/pycore_gil.h:42:5: error: unknown type name 'PyMUTEX_T'
PyMUTEX_T switch_mutex;
CPython versions tested on:
CPython main branch
Operating systems tested on:
Other