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 "critical_section.h"
73
73
#include "object.h"
74
74
#include "refcount.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 @@ -1187,7 +1187,7 @@ PYTHON_HEADERS= \
1187
1187
$(srcdir)/Include/intrcheck.h \
1188
1188
$(srcdir)/Include/iterobject.h \
1189
1189
$(srcdir)/Include/listobject.h \
1190
- $(srcdir)/Include/lock .h \
1190
+ $(srcdir)/Include/pylock .h \
1191
1191
$(srcdir)/Include/longobject.h \
1192
1192
$(srcdir)/Include/marshal.h \
1193
1193
$(srcdir)/Include/memoryobject.h \
@@ -1264,7 +1264,7 @@ PYTHON_HEADERS= \
1264
1264
$(srcdir)/Include/cpython/import.h \
1265
1265
$(srcdir)/Include/cpython/initconfig.h \
1266
1266
$(srcdir)/Include/cpython/listobject.h \
1267
- $(srcdir)/Include/cpython/lock .h \
1267
+ $(srcdir)/Include/cpython/pylock .h \
1268
1268
$(srcdir)/Include/cpython/longintrepr.h \
1269
1269
$(srcdir)/Include/cpython/longobject.h \
1270
1270
$(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 165
165
<ClInclude Include =" ..\Include\cpython\import.h" />
166
166
<ClInclude Include =" ..\Include\cpython\initconfig.h" />
167
167
<ClInclude Include =" ..\Include\cpython\listobject.h" />
168
- <ClInclude Include =" ..\Include\cpython\lock .h" />
168
+ <ClInclude Include =" ..\Include\cpython\pylock .h" />
169
169
<ClInclude Include =" ..\Include\cpython\longintrepr.h" />
170
170
<ClInclude Include =" ..\Include\cpython\longobject.h" />
171
171
<ClInclude Include =" ..\Include\cpython\memoryobject.h" />
332
332
<ClInclude Include =" ..\Include\intrcheck.h" />
333
333
<ClInclude Include =" ..\Include\iterobject.h" />
334
334
<ClInclude Include =" ..\Include\listobject.h" />
335
- <ClInclude Include =" ..\Include\lock .h" />
335
+ <ClInclude Include =" ..\Include\pylock .h" />
336
336
<ClInclude Include =" ..\Include\longobject.h" />
337
337
<ClInclude Include =" ..\Include\marshal.h" />
338
338
<ClInclude Include =" ..\Include\memoryobject.h" />
Original file line number Diff line number Diff line change 120
120
<ClInclude Include =" ..\Include\listobject.h" >
121
121
<Filter >Include</Filter >
122
122
</ClInclude >
123
- <ClInclude Include =" ..\Include\lock .h" >
123
+ <ClInclude Include =" ..\Include\pylock .h" >
124
124
<Filter >Include</Filter >
125
125
</ClInclude >
126
126
<ClInclude Include =" ..\Include\longobject.h" >
414
414
<ClInclude Include =" ..\Include\cpython\listobject.h" >
415
415
<Filter >Include\cpython</Filter >
416
416
</ClInclude >
417
- <ClInclude Include =" ..\Include\cpython\lock .h" >
417
+ <ClInclude Include =" ..\Include\cpython\pylock .h" >
418
418
<Filter >Include</Filter >
419
419
</ClInclude >
420
420
<ClInclude Include =" ..\Include\cpython\longintrepr.h" >
You can’t perform that action at this time.
0 commit comments