diff options
author | Andi Gutmans <andi@php.net> | 2000-06-12 18:48:18 +0000 |
---|---|---|
committer | Andi Gutmans <andi@php.net> | 2000-06-12 18:48:18 +0000 |
commit | 02c42362ffb0f548942f3cb6f45c465520bed8ce (patch) | |
tree | e20ac7ec89b709062f763e1a1e9d0121362750ff /main/php.h | |
parent | 5be482030e72b3976cc4014d1943e646c1af0a81 (diff) | |
download | php-git-02c42362ffb0f548942f3cb6f45c465520bed8ce.tar.gz |
- Start of popen() fix for UNIX. Still unclear what we'll do on Windows.
Diffstat (limited to 'main/php.h')
-rw-r--r-- | main/php.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/main/php.h b/main/php.h index 5af3f98e83..7f692ca19d 100644 --- a/main/php.h +++ b/main/php.h @@ -307,6 +307,7 @@ PHPAPI int cfg_get_string(char *varname, char **result); #define V_MKDIR(pathname, mode) virtual_mkdir(pathname, mode) #define V_RMDIR(pathname) virtual_rmdir(pathname) #define V_OPENDIR(pathname) virtual_opendir(pathname) +#define V_POPEN(command, type) virtual_popen(command, type) #else #define V_GETCWD(buff, size) getcwd(buff,size) #define V_FOPEN(path, mode) fopen(path, mode) @@ -321,6 +322,7 @@ PHPAPI int cfg_get_string(char *varname, char **result); #define V_MKDIR(pathname, mode) mkdir(pathname, mode) #define V_RMDIR(pathname) rmdir(pathname) #define V_OPENDIR(pathname) opendir(pathname) +#define V_POPEN(command, type) popen(command, type) #endif #include "zend_constants.h" |