File tree Expand file tree Collapse file tree 8 files changed +528
-699
lines changed
Expand file tree Collapse file tree 8 files changed +528
-699
lines changed Original file line number Diff line number Diff line change @@ -216,17 +216,10 @@ typedef Py_ssize_t Py_ssize_clean_t;
216216 * WRAPPER FOR <time.h> and/or <sys/time.h> *
217217 ********************************************/
218218
219- #ifdef TIME_WITH_SYS_TIME
220- #include <sys/time.h>
221- #include <time.h>
222- #else /* !TIME_WITH_SYS_TIME */
223219#ifdef HAVE_SYS_TIME_H
224220#include <sys/time.h>
225- #else /* !HAVE_SYS_TIME_H */
221+ #endif
226222#include <time.h>
227- #endif /* !HAVE_SYS_TIME_H */
228- #endif /* !TIME_WITH_SYS_TIME */
229-
230223
231224/******************************
232225 * WRAPPER FOR <sys/select.h> *
Original file line number Diff line number Diff line change 1+ ``configure.ac `` is now compatible with autoconf 2.71. Deprecated checks
2+ ``STDC_HEADERS `` and ``AC_HEADER_TIME `` have been removed.
Original file line number Diff line number Diff line change 22#include "pycore_call.h" // _PyObject_CallNoArgs()
33#include "pycore_long.h" // _PyLong_GetZero()
44#include "structmember.h" // PyMemberDef
5-
6- #ifdef STDC_HEADERS
75#include <stddef.h>
8- #else
9- #include <sys/types.h> // size_t
10- #endif
116
127/*[clinic input]
138module _collections
Original file line number Diff line number Diff line change 1313#include "pycore_moduleobject.h" // _PyModule_GetState()
1414#include "structmember.h" // PyMemberDef
1515#include <stddef.h> // offsetof()
16-
17- #ifdef STDC_HEADERS
1816#include <stddef.h>
19- #else /* !STDC_HEADERS */
20- #ifdef HAVE_SYS_TYPES_H
21- #include <sys/types.h> /* For size_t */
22- #endif /* HAVE_SYS_TYPES_H */
23- #endif /* !STDC_HEADERS */
2417
2518/*[clinic input]
2619module array
Original file line number Diff line number Diff line change 55#include "pycore_interp.h" // PyInterpreterState.list
66#include "pycore_object.h" // _PyObject_GC_TRACK()
77#include "pycore_tuple.h" // _PyTuple_FromArray()
8-
9- #ifdef STDC_HEADERS
108#include <stddef.h>
11- #else
12- #include <sys/types.h> /* For size_t */
13- #endif
149
1510/*[clinic input]
1611class list "PyListObject *" "&PyList_Type"
You can’t perform that action at this time.
0 commit comments