summaryrefslogtreecommitdiffstats
path: root/pyconfig.h.in
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2019-09-12 11:19:21 (GMT)
committerGitHub <noreply@github.com>2019-09-12 11:19:21 (GMT)
commit84eb42e3c90c03f13262f19185b14566e10941ac (patch)
tree6d8b2e13f739d8890712fe0a71e798cf2a07ec3c /pyconfig.h.in
parentdb0d8a5b2c803d30d9df436e00b6627ec8e09a13 (diff)
downloadcpython-84eb42e3c90c03f13262f19185b14566e10941ac.zip
cpython-84eb42e3c90c03f13262f19185b14566e10941ac.tar.gz
cpython-84eb42e3c90c03f13262f19185b14566e10941ac.tar.bz2
bpo-38110: Use fdwalk for os.closerange() when available. (GH-15224)
Use fdwalk() on platforms that support it to implement os.closerange(). (cherry picked from commit e20134f889a0cfcc37a46979f31a1c98b800de07) Co-authored-by: Jakub KulĂ­k <Kulikjak@gmail.com>
Diffstat (limited to 'pyconfig.h.in')
-rw-r--r--pyconfig.h.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/pyconfig.h.in b/pyconfig.h.in
index 840fbcd..5f952d2 100644
--- a/pyconfig.h.in
+++ b/pyconfig.h.in
@@ -341,6 +341,9 @@
/* Define to 1 if you have the `fdopendir' function. */
#undef HAVE_FDOPENDIR
+/* Define to 1 if you have the `fdwalk' function. */
+#undef HAVE_FDWALK
+
/* Define to 1 if you have the `fexecve' function. */
#undef HAVE_FEXECVE