summaryrefslogtreecommitdiff
path: root/main/php.h
diff options
context:
space:
mode:
authorAndi Gutmans <andi@php.net>2000-04-02 19:45:02 +0000
committerAndi Gutmans <andi@php.net>2000-04-02 19:45:02 +0000
commitd8e64d623ec7e72d2d63b8105da188fa91a3f21f (patch)
tree1ffda0e15537fc5a937b608094cf0781921f3f81 /main/php.h
parentce283e2326ea9b19eec3a47dd3565271974ec36e (diff)
downloadphp-git-d8e64d623ec7e72d2d63b8105da188fa91a3f21f.tar.gz
- This version of chdir_file should be compatible with the Apache one.
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 76494cbdd8..5e1d8d84dd 100644
--- a/main/php.h
+++ b/main/php.h
@@ -291,11 +291,13 @@ PHPAPI int cfg_get_string(char *varname, char **result);
#define PHP_GETCWD(buff, size) virtual_getcwd(buff,size)
#define PHP_FOPEN(path, mode) virtual_fopen(path, mode)
#define PHP_CHDIR(path) virtual_chdir(path)
+#define PHP_CHDIR_FILE(path) virtual_chdir_file(path)
#define PHP_GETWD(buf)
#else
#define PHP_GETCWD(buff, size) getcwd(buff,size)
#define PHP_FOPEN(path, mode) fopen(path, mode)
#define PHP_CHDIR(path) chdir(path)
+#define PHP_CHDIR_FILE(path) chdir_file(path)
#define PHP_GETWD(buf) getwd(buf)
#endif