diff options
Diffstat (limited to 'main/php.h')
-rw-r--r-- | main/php.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/main/php.h b/main/php.h index 326bbfc7e8..75facd3895 100644 --- a/main/php.h +++ b/main/php.h @@ -298,6 +298,9 @@ PHPAPI int cfg_get_string(char *varname, char **result); #ifdef VIRTUAL_DIR #define V_GETCWD(buff, size) virtual_getcwd(buff,size) #define V_FOPEN(path, mode) virtual_fopen(path, mode) +#define V_OPEN(path, flags) virtual_open(path, flags) +#define V_OPEN_CREAT(path, flags, mode) virtual_open(path, flags, mode) +#define V_CREAT(path, mode) virtual_creat(path, mode) #define V_CHDIR(path) virtual_chdir(path) #define V_CHDIR_FILE(path) virtual_chdir_file(path) #define V_GETWD(buf) @@ -310,6 +313,9 @@ PHPAPI int cfg_get_string(char *varname, char **result); #else #define V_GETCWD(buff, size) getcwd(buff,size) #define V_FOPEN(path, mode) fopen(path, mode) +#define V_OPEN(path, flags) open(path, flags) +#define V_OPEN_CREAT(path, flags, mode) open(path, flags, mode) +#define V_CREAT(path, mode) creat(path, mode) #define V_CHDIR(path) chdir(path) #define V_CHDIR_FILE(path) chdir_file(path) #define V_GETWD(buf) getwd(buf) |