diff options
author | Bryan Jurish <mukau@users.sourceforge.net> | 2009-05-14 19:30:51 +0000 |
---|---|---|
committer | Bryan Jurish <mukau@users.sourceforge.net> | 2009-05-14 19:30:51 +0000 |
commit | ba2c80c91cfd8390ced743f8ee899612acb72b24 (patch) | |
tree | 17ae05bcbfc0d70fb892609631537ff79920f931 /readdir/src/config.h.in | |
parent | 67b63ce6c08bffaea091063e8f106a81eb456bc6 (diff) |
+ win32 fixes: check for dirent.d_type and DT_* decls
+ minor improvements: report errors with pd_error() instead of error()
+ todo (maybe): use stat() to get file types when dirent.d_type is unavailable?
- mabe better delegate this to a different external entirely (e.g. 'stat')
svn path=/trunk/externals/moocow/; revision=11365
Diffstat (limited to 'readdir/src/config.h.in')
-rw-r--r-- | readdir/src/config.h.in | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/readdir/src/config.h.in b/readdir/src/config.h.in index 4496bb9..5e86779 100644 --- a/readdir/src/config.h.in +++ b/readdir/src/config.h.in @@ -1,5 +1,33 @@ /* src/config.h.in. Generated from configure.ac by autoheader. */ +/* Define to 1 if you have the declaration of `DT_BLK', and to 0 if you don't. + */ +#undef HAVE_DECL_DT_BLK + +/* Define to 1 if you have the declaration of `DT_CHR', and to 0 if you don't. + */ +#undef HAVE_DECL_DT_CHR + +/* Define to 1 if you have the declaration of `DT_DIR', and to 0 if you don't. + */ +#undef HAVE_DECL_DT_DIR + +/* Define to 1 if you have the declaration of `DT_FIFO', and to 0 if you + don't. */ +#undef HAVE_DECL_DT_FIFO + +/* Define to 1 if you have the declaration of `DT_REG', and to 0 if you don't. + */ +#undef HAVE_DECL_DT_REG + +/* Define to 1 if you have the declaration of `DT_SOCK', and to 0 if you + don't. */ +#undef HAVE_DECL_DT_SOCK + +/* Define to 1 if you have the declaration of `DT_UNKNOWN', and to 0 if you + don't. */ +#undef HAVE_DECL_DT_UNKNOWN + /* Define to 1 if you have the <dirent.h> header file. */ #undef HAVE_DIRENT_H @@ -12,6 +40,9 @@ /* Define to 1 if you have the <string.h> header file. */ #undef HAVE_STRING_H +/* Define to 1 if `d_type' is member of `struct dirent'. */ +#undef HAVE_STRUCT_DIRENT_D_TYPE + /* Name of package */ #undef PACKAGE |