mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
- Change PHP_ to V_ (directory & file functions)
This commit is contained in:
parent
603d5ff5d8
commit
1665cba750
11 changed files with 40 additions and 40 deletions
20
main/php.h
20
main/php.h
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue