cvs: /php4 win95nt.h

From: Date: Sun, 05 Mar 2000 17:40:12 +0000
Subject: cvs: /php4 win95nt.h
Groups: php.version4 
Request: Send a blank email to php-version4+get-11534@lists.php.net to get a copy of this message
sas Sun Mar 5 09:40:12 2000 EDT Modified files: /php4 win95nt.h Log: Avoid the side-effect of defining function names, so that the PHP functions are not renamed to their prefixed variants. PR: #3535 Index: php4/win95nt.h diff -u php4/win95nt.h:1.3 php4/win95nt.h:1.4 --- php4/win95nt.h:1.3 Thu Feb 10 11:41:18 2000 +++ php4/win95nt.h Sun Mar 5 09:39:41 2000 @@ -19,14 +19,14 @@ #define S_IFIFO _IFIFO #define S_IFBLK _IFBLK #define S_IFLNK _IFLNK -#define pclose _pclose -#define popen _popen +#define pclose(a) _pclose(a) +#define popen(a) _popen(a) #define chdir(path) SetCurrentDirectory(path) #define mkdir(a,b) _mkdir(a) -#define rmdir _rmdir -#define getpid _getpid +#define rmdir(a) _rmdir(a) +#define getpid(a) _getpid(a) #define php_sleep(t) Sleep(t*1000) -#define getcwd _getcwd +#define getcwd(a) _getcwd(a) #define snprintf _snprintf #define off_t _off_t #define vsnprintf _vsnprintf

« previous php.version4 (#11534) next »