Skip to content
Closed
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions Include/internal/pycore_pythread.h
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
#ifndef Py_INTERNAL_PYTHREAD_H
#define Py_INTERNAL_PYTHREAD_H
#ifdef __cplusplus
extern "C" {
#endif

#ifndef Py_BUILD_CORE
# error "this header requires Py_BUILD_CORE define"
#endif

#include "dynamic_annotations.h" // _Py_ANNOTATE_PURE_HAPPENS_BEFORE_MUTEX

#ifdef __cplusplus
extern "C" {
#endif
#include "pycore_llist.h" // struct llist_node

// Get _POSIX_THREADS and _POSIX_SEMAPHORES macros if available
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Fix linking of the free-threaded build with C++ compiler.
Loading