- Change PHP_ to V_ (directory & file functions)

This commit is contained in:
Andi Gutmans 2000-04-15 14:20:01 +00:00
parent 603d5ff5d8
commit 1665cba750
11 changed files with 40 additions and 40 deletions

View file

@ -289,17 +289,17 @@ PHPAPI int cfg_get_string(char *varname, char **result);
/* Virtual current directory support */
#ifdef VIRTUAL_DIR
#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)
#define V_GETCWD(buff, size) virtual_getcwd(buff,size)
#define V_FOPEN(path, mode) virtual_fopen(path, mode)
#define V_CHDIR(path) virtual_chdir(path)
#define V_CHDIR_FILE(path) virtual_chdir_file(path)
#define V_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)
#define V_GETCWD(buff, size) getcwd(buff,size)
#define V_FOPEN(path, mode) fopen(path, mode)
#define V_CHDIR(path) chdir(path)
#define V_CHDIR_FILE(path) chdir_file(path)
#define V_GETWD(buf) getwd(buf)
#endif
#include "zend_constants.h"