diff options
| author | SVN Migration <svn@php.net> | 2003-01-28 00:42:55 +0000 |
|---|---|---|
| committer | SVN Migration <svn@php.net> | 2003-01-28 00:42:55 +0000 |
| commit | 3835ea22411139da8ea54d72e3d20abc409c0c4f (patch) | |
| tree | 19426a95df3776816bbf8979fa4f6d7902dbb793 /main/php_scandir.h | |
| parent | b5b59b7ee6595aa28b49fe5d770f3e615c1ba180 (diff) | |
| download | php-git-3835ea22411139da8ea54d72e3d20abc409c0c4f.tar.gz | |
This commit was manufactured by cvs2svn to create branch 'PHP_4_3'.
Diffstat (limited to 'main/php_scandir.h')
| -rw-r--r-- | main/php_scandir.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/main/php_scandir.h b/main/php_scandir.h new file mode 100644 index 0000000000..b7a2b9e78b --- /dev/null +++ b/main/php_scandir.h @@ -0,0 +1,20 @@ +#include <sys/types.h> + +#ifdef HAVE_DIRENT_H +# include <dirent.h> +#endif + +#ifdef PHP_WIN32 +#include "config.w32.h" +#include "win32/readdir.h" +#else +#include "php_config.h" +#endif + +#ifndef HAVE_ALPHASORT +int alphasort(const struct dirent **a, const struct dirent **b); +#endif + +#ifndef HAVE_SCANDIR +int scandir(const char *dirname, struct dirent **namelist[], int (*selector) (const struct dirent *entry), int (*compare) (const struct dirent **a, const struct dirent **b)); +#endif |
