cvs: /php4 win95nt.h

From: Date: Sun, 05 Mar 2000 21:41:10 +0000
Subject: cvs: /php4 win95nt.h
Groups: php.version4 
Request: Send a blank email to php-version4+get-11543@lists.php.net to get a copy of this message
andi Sun Mar 5 13:41:10 2000 EDT Modified files: /php4 win95nt.h Log: - 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(). Index: php4/win95nt.h diff -u php4/win95nt.h:1.4 php4/win95nt.h:1.5 --- php4/win95nt.h:1.4 Sun Mar 5 09:39:41 2000 +++ php4/win95nt.h Sun Mar 5 13:40:40 2000 @@ -20,13 +20,13 @@ #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

« previous php.version4 (#11543) next »