summaryrefslogtreecommitdiffstats
path: root/Include
diff options
context:
space:
mode:
authorChristian Heimes <christian@python.org>2021-11-08 18:31:14 (GMT)
committerGitHub <noreply@github.com>2021-11-08 18:31:14 (GMT)
commitcbab997efb3ba5123dc8d9f706184fa8e634b3ec (patch)
treeb0b511a9da72b5d8e2173553427efe5b0058373f /Include
parent9bd0cf5970997b63d296e30d51e7bb9a15dcabaf (diff)
downloadcpython-cbab997efb3ba5123dc8d9f706184fa8e634b3ec.zip
cpython-cbab997efb3ba5123dc8d9f706184fa8e634b3ec.tar.gz
cpython-cbab997efb3ba5123dc8d9f706184fa8e634b3ec.tar.bz2
bpo-45723: Prepare support for autoconf 2.71 (GH-29441)
Diffstat (limited to 'Include')
-rw-r--r--Include/pyport.h9
1 files changed, 1 insertions, 8 deletions
diff --git a/Include/pyport.h b/Include/pyport.h
index 61ca3a9..953f75c 100644
--- a/Include/pyport.h
+++ b/Include/pyport.h
@@ -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> *