Skip to content

Commit 1e6214d

Browse files
bpo-45952: Get the C analyzer tool working again. (gh-31219)
https://bugs.python.org/issue45952
1 parent b552768 commit 1e6214d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Tools/c-analyzer/cpython/_parser.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,7 @@ def clean_lines(text):
171171
Objects/stringlib/unicode_format.h Py_BUILD_CORE 1
172172
Python/ceval_gil.h Py_BUILD_CORE 1
173173
Python/condvar.h Py_BUILD_CORE 1
174+
Modules/getpath_noop.c Py_BUILD_CORE 1
174175
175176
Modules/_json.c Py_BUILD_CORE_BUILTIN 1
176177
Modules/_pickle.c Py_BUILD_CORE_BUILTIN 1
@@ -232,13 +233,15 @@ def clean_lines(text):
232233
233234
# implied include of <unistd.h>
234235
Include/**/*.h _POSIX_THREADS 1
236+
Include/**/*.h HAVE_PTHREAD_H 1
235237
236238
# from Makefile
237239
Modules/getpath.c PYTHONPATH 1
238240
Modules/getpath.c PREFIX ...
239241
Modules/getpath.c EXEC_PREFIX ...
240242
Modules/getpath.c VERSION ...
241243
Modules/getpath.c VPATH ...
244+
Modules/getpath.c PLATLIBDIR ...
242245
243246
# from Modules/_sha3/sha3module.c
244247
Modules/_sha3/kcp/KeccakP-1600-inplace32BI.c PLATFORM_BYTE_ORDER 4321 # force big-endian

0 commit comments

Comments
 (0)