summaryrefslogtreecommitdiff
path: root/main/php.h
diff options
context:
space:
mode:
authorAndi Gutmans <andi@php.net>2000-04-02 19:04:59 +0000
committerAndi Gutmans <andi@php.net>2000-04-02 19:04:59 +0000
commit6a2da70f9416590600d212d617363364fc4ecdb6 (patch)
treed1589b6c7f9165e8855f4d0a03ba5544dc0a45be /main/php.h
parenteefbe904b2906826668c76762eaa02dd552fcbbb (diff)
downloadphp-git-6a2da70f9416590600d212d617363364fc4ecdb6.tar.gz
- Virtual cwd compiles now (need to uncomment #define in php.h for it to
be enbaled right now). It seems to work very basic stuff
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 0d84b4d7e8..76494cbdd8 100644
--- a/main/php.h
+++ b/main/php.h
@@ -284,8 +284,10 @@ PHPAPI int cfg_get_string(char *varname, char **result);
#define PUTS_H(str) php_header_write((str), strlen((str)))
#define PUTC_H(c) (php_header_write(&(c), 1), (c))
+/* #define VIRTUAL_DIR */
/* Virtual current directory support */
#ifdef VIRTUAL_DIR
+#include "php_virtual_cwd.h"
#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)