summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndi Gutmans <andi@php.net>2000-03-05 21:40:40 +0000
committerAndi Gutmans <andi@php.net>2000-03-05 21:40:40 +0000
commitfbea48211e4cc84edf2b2ec5d77a326cde936ce5 (patch)
tree381a02810ffacac97c647a9fb3371aa70200a942
parent64df92e053cd0a3b19267b737c760de9f87e6661 (diff)
downloadphp-git-fbea48211e4cc84edf2b2ec5d77a326cde936ce5.tar.gz
- 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().
-rw-r--r--main/win95nt.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/main/win95nt.h b/main/win95nt.h
index 616b775ede..46dded81b2 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