File tree Expand file tree Collapse file tree 8 files changed +10
-9
lines changed Expand file tree Collapse file tree 8 files changed +10
-9
lines changed Original file line number Diff line number Diff line change 68
68
#include "pybuffer.h"
69
69
#include "pystats.h"
70
70
#include "pyatomic.h"
71
- #include "lock .h"
71
+ #include "pylock .h"
72
72
#include "object.h"
73
73
#include "objimpl.h"
74
74
#include "typeslots.h"
File renamed without changes.
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ extern "C" {
13
13
# error "this header requires Py_BUILD_CORE define"
14
14
#endif
15
15
16
- // _Py_UNLOCKED is defined as 0 and _Py_LOCKED as 1 in Include/cpython/lock .h
16
+ // _Py_UNLOCKED is defined as 0 and _Py_LOCKED as 1 in Include/cpython/pylock .h
17
17
#define _Py_HAS_PARKED 2
18
18
#define _Py_ONCE_INITIALIZED 4
19
19
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ extern "C" {
6
6
7
7
#ifndef Py_LIMITED_API
8
8
# define Py_CPYTHON_LOCK_H
9
- # include "cpython/lock .h"
9
+ # include "cpython/pylock .h"
10
10
# undef Py_CPYTHON_LOCK_H
11
11
#endif
12
12
Original file line number Diff line number Diff line change @@ -1039,7 +1039,7 @@ PYTHON_HEADERS= \
1039
1039
$(srcdir)/Include/intrcheck.h \
1040
1040
$(srcdir)/Include/iterobject.h \
1041
1041
$(srcdir)/Include/listobject.h \
1042
- $(srcdir)/Include/lock .h \
1042
+ $(srcdir)/Include/pylock .h \
1043
1043
$(srcdir)/Include/longobject.h \
1044
1044
$(srcdir)/Include/marshal.h \
1045
1045
$(srcdir)/Include/memoryobject.h \
@@ -1113,7 +1113,7 @@ PYTHON_HEADERS= \
1113
1113
$(srcdir)/Include/cpython/import.h \
1114
1114
$(srcdir)/Include/cpython/initconfig.h \
1115
1115
$(srcdir)/Include/cpython/listobject.h \
1116
- $(srcdir)/Include/cpython/lock .h \
1116
+ $(srcdir)/Include/cpython/pylock .h \
1117
1117
$(srcdir)/Include/cpython/longintrepr.h \
1118
1118
$(srcdir)/Include/cpython/longobject.h \
1119
1119
$(srcdir)/Include/cpython/memoryobject.h \
Original file line number Diff line number Diff line change
1
+ Rename ``lock.h `` to ``pylock.h `` to avoid potential include conflicts.
Original file line number Diff line number Diff line change 158
158
<ClInclude Include =" ..\Include\cpython\import.h" />
159
159
<ClInclude Include =" ..\Include\cpython\initconfig.h" />
160
160
<ClInclude Include =" ..\Include\cpython\listobject.h" />
161
- <ClInclude Include =" ..\Include\cpython\lock .h" />
161
+ <ClInclude Include =" ..\Include\cpython\pylock .h" />
162
162
<ClInclude Include =" ..\Include\cpython\longintrepr.h" />
163
163
<ClInclude Include =" ..\Include\cpython\longobject.h" />
164
164
<ClInclude Include =" ..\Include\cpython\memoryobject.h" />
313
313
<ClInclude Include =" ..\Include\intrcheck.h" />
314
314
<ClInclude Include =" ..\Include\iterobject.h" />
315
315
<ClInclude Include =" ..\Include\listobject.h" />
316
- <ClInclude Include =" ..\Include\lock .h" />
316
+ <ClInclude Include =" ..\Include\pylock .h" />
317
317
<ClInclude Include =" ..\Include\longobject.h" />
318
318
<ClInclude Include =" ..\Include\marshal.h" />
319
319
<ClInclude Include =" ..\Include\memoryobject.h" />
Original file line number Diff line number Diff line change 117
117
<ClInclude Include =" ..\Include\listobject.h" >
118
118
<Filter >Include</Filter >
119
119
</ClInclude >
120
- <ClInclude Include =" ..\Include\lock .h" >
120
+ <ClInclude Include =" ..\Include\pylock .h" >
121
121
<Filter >Include</Filter >
122
122
</ClInclude >
123
123
<ClInclude Include =" ..\Include\longobject.h" >
402
402
<ClInclude Include =" ..\Include\cpython\listobject.h" >
403
403
<Filter >Include\cpython</Filter >
404
404
</ClInclude >
405
- <ClInclude Include =" ..\Include\cpython\lock .h" >
405
+ <ClInclude Include =" ..\Include\cpython\pylock .h" >
406
406
<Filter >Include</Filter >
407
407
</ClInclude >
408
408
<ClInclude Include =" ..\Include\cpython\longintrepr.h" >
You can’t perform that action at this time.
0 commit comments