summaryrefslogtreecommitdiffstats
path: root/Include/critical_section.h
blob: 3b37615a8b17e2a457b2043c7f24165984e8a4ef (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#ifndef Py_CRITICAL_SECTION_H
#define Py_CRITICAL_SECTION_H
#ifdef __cplusplus
extern "C" {
#endif

#ifndef Py_LIMITED_API
#  define Py_CPYTHON_CRITICAL_SECTION_H
#  include "cpython/critical_section.h"
#  undef Py_CPYTHON_CRITICAL_SECTION_H
#endif

#ifdef __cplusplus
}
#endif
#endif /* !Py_CRITICAL_SECTION_H */