Skip to content

Commit 75356d8

Browse files
committed
Move Include/dynamic_annotations.h to be outside exten "C"
1 parent 89b5571 commit 75356d8

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

Include/internal/pycore_pythread.h

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,15 @@
11
#ifndef Py_INTERNAL_PYTHREAD_H
22
#define Py_INTERNAL_PYTHREAD_H
3-
#ifdef __cplusplus
4-
extern "C" {
5-
#endif
63

74
#ifndef Py_BUILD_CORE
85
# error "this header requires Py_BUILD_CORE define"
96
#endif
107

118
#include "dynamic_annotations.h" // _Py_ANNOTATE_PURE_HAPPENS_BEFORE_MUTEX
9+
10+
#ifdef __cplusplus
11+
extern "C" {
12+
#endif
1213
#include "pycore_llist.h" // struct llist_node
1314

1415
// Get _POSIX_THREADS and _POSIX_SEMAPHORES macros if available

0 commit comments

Comments
 (0)