summaryrefslogtreecommitdiff
path: root/main/win95nt.h
diff options
context:
space:
mode:
authorSascha Schumann <sas@php.net>2000-03-05 17:39:41 +0000
committerSascha Schumann <sas@php.net>2000-03-05 17:39:41 +0000
commit2897c6fe2533d4a4cdc0b00a82be7c58dfd646a6 (patch)
tree54f2dbab1e0fe1a9ee36ca3a505b1f59941d90a0 /main/win95nt.h
parent79e36bd365ac041e050e1339eaeea8da6d023d24 (diff)
downloadphp-git-2897c6fe2533d4a4cdc0b00a82be7c58dfd646a6.tar.gz
Avoid the side-effect of defining function names, so that the PHP functions
are not renamed to their prefixed variants. PR: #3535
Diffstat (limited to 'main/win95nt.h')
-rw-r--r--main/win95nt.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/main/win95nt.h b/main/win95nt.h
index 1d565aa8f6..616b775ede 100644
--- a/main/win95nt.h
+++ b/main/win95nt.h
@@ -19,14 +19,14 @@ typedef char * caddr_t;
#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