summaryrefslogtreecommitdiff
path: root/main/php.h
diff options
context:
space:
mode:
authorStanislav Malyshev <stas@php.net>2000-06-04 08:29:11 +0000
committerStanislav Malyshev <stas@php.net>2000-06-04 08:29:11 +0000
commit5af7dff7581ac7314c57ed525d590f9709a5d432 (patch)
treec8eb9f80133958d39341f6c90a4351bb3527d832 /main/php.h
parent375474ce8632b113d025861308057c44573b2900 (diff)
downloadphp-git-5af7dff7581ac7314c57ed525d590f9709a5d432.tar.gz
add opendir to VIRTUAL_DIR
Diffstat (limited to 'main/php.h')
-rw-r--r--main/php.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/main/php.h b/main/php.h
index 20d0f1cbde..59fdf6a370 100644
--- a/main/php.h
+++ b/main/php.h
@@ -306,6 +306,7 @@ PHPAPI int cfg_get_string(char *varname, char **result);
#define V_UNLINK(path) virtual_unlink(path)
#define V_MKDIR(pathname, mode) virtual_mkdir(pathname, mode)
#define V_RMDIR(pathname) virtual_rmdir(pathname)
+#define V_OPENDIR(pathname) virtual_opendir(pathname)
#else
#define V_GETCWD(buff, size) getcwd(buff,size)
#define V_FOPEN(path, mode) fopen(path, mode)
@@ -319,6 +320,7 @@ PHPAPI int cfg_get_string(char *varname, char **result);
#define V_UNLINK(path) unlink(path)
#define V_MKDIR(pathname, mode) mkdir(pathname, mode)
#define V_RMDIR(pathname) rmdir(pathname)
+#define V_OPENDIR(pathname) opendir(pathname)
#endif
#include "zend_constants.h"