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;
216
216
* WRAPPER FOR <time.h> and/or <sys/time.h> *
217
217
********************************************/
218
218
219
- #ifdef TIME_WITH_SYS_TIME
220
- #include <sys/time.h>
221
- #include <time.h>
222
- #else /* !TIME_WITH_SYS_TIME */
223
219
#ifdef HAVE_SYS_TIME_H
224
220
#include <sys/time.h>
225
- #else /* !HAVE_SYS_TIME_H */
221
+ #endif
226
222
#include <time.h>
227
- #endif /* !HAVE_SYS_TIME_H */
228
- #endif /* !TIME_WITH_SYS_TIME */
229
-
230
223
231
224
/******************************
232
225
* 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 2
2
#include "pycore_call.h" // _PyObject_CallNoArgs()
3
3
#include "pycore_long.h" // _PyLong_GetZero()
4
4
#include "structmember.h" // PyMemberDef
5
-
6
- #ifdef STDC_HEADERS
7
5
#include <stddef.h>
8
- #else
9
- #include <sys/types.h> // size_t
10
- #endif
11
6
12
7
/*[clinic input]
13
8
module _collections
Original file line number Diff line number Diff line change 13
13
#include "pycore_moduleobject.h" // _PyModule_GetState()
14
14
#include "structmember.h" // PyMemberDef
15
15
#include <stddef.h> // offsetof()
16
-
17
- #ifdef STDC_HEADERS
18
16
#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 */
24
17
25
18
/*[clinic input]
26
19
module array
Original file line number Diff line number Diff line change 5
5
#include "pycore_interp.h" // PyInterpreterState.list
6
6
#include "pycore_object.h" // _PyObject_GC_TRACK()
7
7
#include "pycore_tuple.h" // _PyTuple_FromArray()
8
-
9
- #ifdef STDC_HEADERS
10
8
#include <stddef.h>
11
- #else
12
- #include <sys/types.h> /* For size_t */
13
- #endif
14
9
15
10
/*[clinic input]
16
11
class list "PyListObject *" "&PyList_Type"
You can’t perform that action at this time.
0 commit comments