1
0
mirror of https://github.com/php/php-src.git synced 2026-04-09 09:03:04 +02:00

- 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().
This commit is contained in:
Andi Gutmans
2000-03-05 21:40:40 +00:00
parent 64df92e053
commit fbea48211e

View File

@@ -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