diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2015-03-08 01:59:09 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2015-03-08 01:59:09 (GMT) |
commit | 35a97c0bed8af6cab7ea0fffe374c3369561c444 (patch) | |
tree | 669a8ebf7cce2246560484ae433e070e83b9b53d /pyconfig.h.in | |
parent | 6036e4431dbc45952550c2b730fc0d1c82e30883 (diff) | |
download | cpython-35a97c0bed8af6cab7ea0fffe374c3369561c444.zip cpython-35a97c0bed8af6cab7ea0fffe374c3369561c444.tar.gz cpython-35a97c0bed8af6cab7ea0fffe374c3369561c444.tar.bz2 |
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.in | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/pyconfig.h.in b/pyconfig.h.in index 507a7ab..10426c7 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 |