Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 1 addition & 8 deletions 9 Include/pyport.h
Original file line number Diff line number Diff line change
Expand Up @@ -216,17 +216,10 @@ typedef Py_ssize_t Py_ssize_clean_t;
* WRAPPER FOR <time.h> and/or <sys/time.h> *
********************************************/

#ifdef TIME_WITH_SYS_TIME
#include <sys/time.h>
#include <time.h>
#else /* !TIME_WITH_SYS_TIME */
#ifdef HAVE_SYS_TIME_H
#include <sys/time.h>
#else /* !HAVE_SYS_TIME_H */
#endif
#include <time.h>
#endif /* !HAVE_SYS_TIME_H */
#endif /* !TIME_WITH_SYS_TIME */


/******************************
* WRAPPER FOR <sys/select.h> *
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
``configure.ac`` is now compatible with autoconf 2.71. Deprecated checks
``STDC_HEADERS`` and ``AC_HEADER_TIME`` have been removed.
5 changes: 0 additions & 5 deletions 5 Modules/_collectionsmodule.c
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,7 @@
#include "pycore_call.h" // _PyObject_CallNoArgs()
#include "pycore_long.h" // _PyLong_GetZero()
#include "structmember.h" // PyMemberDef

#ifdef STDC_HEADERS
#include <stddef.h>
#else
#include <sys/types.h> // size_t
#endif

/*[clinic input]
module _collections
Expand Down
7 changes: 0 additions & 7 deletions 7 Modules/arraymodule.c
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,7 @@
#include "pycore_moduleobject.h" // _PyModule_GetState()
#include "structmember.h" // PyMemberDef
#include <stddef.h> // offsetof()

#ifdef STDC_HEADERS
#include <stddef.h>
#else /* !STDC_HEADERS */
#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h> /* For size_t */
#endif /* HAVE_SYS_TYPES_H */
#endif /* !STDC_HEADERS */

/*[clinic input]
module array
Expand Down
5 changes: 0 additions & 5 deletions 5 Objects/listobject.c
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,7 @@
#include "pycore_interp.h" // PyInterpreterState.list
#include "pycore_object.h" // _PyObject_GC_TRACK()
#include "pycore_tuple.h" // _PyTuple_FromArray()

#ifdef STDC_HEADERS
#include <stddef.h>
#else
#include <sys/types.h> /* For size_t */
#endif

/*[clinic input]
class list "PyListObject *" "&PyList_Type"
Expand Down
Loading
Morty Proxy This is a proxified and sanitized view of the page, visit original site.