mirror of
https://github.com/python/cpython.git
synced 2026-01-06 07:22:09 +00:00
gh-129296: Fix `pythread.h` include paths (#129320)
Use relative includes in Include/cpython/pythread.h for
pthread_stubs.h.
(cherry picked from commit 3a974e39d5)
Co-authored-by: Zanie Blue <contact@zanie.dev>
This commit is contained in:
parent
b8f2ff08f1
commit
107e08dfb1
1 changed files with 1 additions and 1 deletions
|
|
@ -21,7 +21,7 @@ PyAPI_FUNC(int) _PyThread_at_fork_reinit(PyThread_type_lock *lock);
|
|||
*/
|
||||
# define NATIVE_TSS_KEY_T unsigned long
|
||||
#elif defined(HAVE_PTHREAD_STUBS)
|
||||
# include "cpython/pthread_stubs.h"
|
||||
# include "pthread_stubs.h"
|
||||
# define NATIVE_TSS_KEY_T pthread_key_t
|
||||
#else
|
||||
# error "Require native threads. See https://bugs.python.org/issue31370"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue