From 02c42362ffb0f548942f3cb6f45c465520bed8ce Mon Sep 17 00:00:00 2001 From: Andi Gutmans Date: Mon, 12 Jun 2000 18:48:18 +0000 Subject: - Start of popen() fix for UNIX. Still unclear what we'll do on Windows. --- main/php.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'main/php.h') 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" -- cgit v1.2.1