diff options
author | foobar <sniper@php.net> | 2003-02-19 18:45:51 +0000 |
---|---|---|
committer | foobar <sniper@php.net> | 2003-02-19 18:45:51 +0000 |
commit | 0458bb5e2b31e571b83e6aa674073c28fb8c4fbf (patch) | |
tree | db8b7bdd85f53a2d643908b337b1d0d46a3d5852 /main/php_scandir.h | |
parent | 53d70b2c14cf693957d959573a1e17136433ba0d (diff) | |
download | php-git-0458bb5e2b31e571b83e6aa674073c28fb8c4fbf.tar.gz |
MFB
Diffstat (limited to 'main/php_scandir.h')
-rw-r--r-- | main/php_scandir.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/main/php_scandir.h b/main/php_scandir.h index 4a8b57ed3f..961188e7ad 100644 --- a/main/php_scandir.h +++ b/main/php_scandir.h @@ -31,10 +31,11 @@ #include "php_config.h" #endif -#ifdef HAVE_SCANDIR #ifdef HAVE_DIRENT_H #include <dirent.h> #endif + +#ifdef HAVE_SCANDIR #define php_scandir scandir #else int php_scandir(const char *dirname, struct dirent **namelist[], int (*selector) (const struct dirent *entry), int (*compare) (const struct dirent **a, const struct dirent **b)); |