From fbea48211e4cc84edf2b2ec5d77a326cde936ce5 Mon Sep 17 00:00:00 2001 From: Andi Gutmans Date: Sun, 5 Mar 2000 21:40:40 +0000 Subject: [PATCH] - Make some fixes although there is a problem with getpid() being defined in process.h as getpid(void) and thus having an arugment. We might need to define a php_getpid() function to wrap getpid(). --- main/win95nt.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/main/win95nt.h b/main/win95nt.h index 616b775ede0..46dded81b26 100644 --- a/main/win95nt.h +++ b/main/win95nt.h @@ -20,13 +20,13 @@ typedef char * caddr_t; #define S_IFBLK _IFBLK #define S_IFLNK _IFLNK #define pclose(a) _pclose(a) -#define popen(a) _popen(a) +#define popen(a, b) _popen(a, b) #define chdir(path) SetCurrentDirectory(path) #define mkdir(a,b) _mkdir(a) #define rmdir(a) _rmdir(a) -#define getpid(a) _getpid(a) +#define getpid() _getpid() #define php_sleep(t) Sleep(t*1000) -#define getcwd(a) _getcwd(a) +#define getcwd(a, b) _getcwd(a, b) #define snprintf _snprintf #define off_t _off_t #define vsnprintf _vsnprintf