https://github.com/python/cpython/commit/107e08dfb18c7d752f8452dcc659f0225b1a25fa commit: 107e08dfb18c7d752f8452dcc659f0225b1a25fa branch: 3.12 author: Victor Stinner <[email protected]> committer: vstinner <[email protected]> date: 2025-02-28T08:19:50Z summary:
[3.12] gh-129296: Fix `pythread.h` include paths (#129320) (#130668) gh-129296: Fix `pythread.h` include paths (#129320) Use relative includes in Include/cpython/pythread.h for pthread_stubs.h. (cherry picked from commit 3a974e39d54902699f360bc4db2fd351a6baf3ef) Co-authored-by: Zanie Blue <[email protected]> files: M Include/cpython/pythread.h diff --git a/Include/cpython/pythread.h b/Include/cpython/pythread.h index ce4ec8f65b15ea..a09a9a5c464fc4 100644 --- a/Include/cpython/pythread.h +++ b/Include/cpython/pythread.h @@ -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" _______________________________________________ Python-checkins mailing list -- [email protected] To unsubscribe send an email to [email protected] https://mail.python.org/mailman3/lists/python-checkins.python.org/ Member address: [email protected]
