]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
bpo-45952: Get the C analyzer tool working again. (gh-31219)
authorEric Snow <ericsnowcurrently@gmail.com>
Tue, 8 Feb 2022 18:42:17 +0000 (11:42 -0700)
committerGitHub <noreply@github.com>
Tue, 8 Feb 2022 18:42:17 +0000 (11:42 -0700)
https://bugs.python.org/issue45952

Tools/c-analyzer/cpython/_parser.py

index 90b470c8196c052c57929d4c79c4e6872b2ea62b..752f1afe9feb0061f2e17f92e636233e71e69437 100644 (file)
@@ -171,6 +171,7 @@ Objects/stringlib/codecs.h  Py_BUILD_CORE   1
 Objects/stringlib/unicode_format.h     Py_BUILD_CORE   1
 Python/ceval_gil.h     Py_BUILD_CORE   1
 Python/condvar.h       Py_BUILD_CORE   1
+Modules/getpath_noop.c Py_BUILD_CORE   1
 
 Modules/_json.c        Py_BUILD_CORE_BUILTIN   1
 Modules/_pickle.c      Py_BUILD_CORE_BUILTIN   1
@@ -232,6 +233,7 @@ Include/**/*.h      SIZEOF_WCHAR_T  4
 
 # implied include of <unistd.h>
 Include/**/*.h _POSIX_THREADS  1
+Include/**/*.h HAVE_PTHREAD_H  1
 
 # from Makefile
 Modules/getpath.c      PYTHONPATH      1
@@ -239,6 +241,7 @@ Modules/getpath.c   PREFIX  ...
 Modules/getpath.c      EXEC_PREFIX     ...
 Modules/getpath.c      VERSION ...
 Modules/getpath.c      VPATH   ...
+Modules/getpath.c      PLATLIBDIR      ...
 
 # from Modules/_sha3/sha3module.c
 Modules/_sha3/kcp/KeccakP-1600-inplace32BI.c   PLATFORM_BYTE_ORDER     4321  # force big-endian