summaryrefslogtreecommitdiff
path: root/pyconfig.h.in
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2015-03-08 02:59:09 +0100
committerVictor Stinner <victor.stinner@gmail.com>2015-03-08 02:59:09 +0100
commit35a97c0bed8af6cab7ea0fffe374c3369561c444 (patch)
tree669a8ebf7cce2246560484ae433e070e83b9b53d /pyconfig.h.in
parent6036e4431dbc45952550c2b730fc0d1c82e30883 (diff)
downloadcpython-git-35a97c0bed8af6cab7ea0fffe374c3369561c444.tar.gz
Issue #22524: Fix os.scandir() for platforms which don't have a d_type field in
the dirent structure (ex: OpenIndiana).
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 507a7ab183..10426c7cd3 100644
--- a/pyconfig.h.in
+++ b/pyconfig.h.in
@@ -183,6 +183,9 @@
/* Define to 1 if you have the <direct.h> header file. */
#undef HAVE_DIRECT_H
+/* Define to 1 if the dirent structure has a d_type field */
+#undef HAVE_DIRENT_D_TYPE
+
/* Define to 1 if you have the <dirent.h> header file, and it defines `DIR'.
*/
#undef HAVE_DIRENT_H