summaryrefslogtreecommitdiff
path: root/main/win95nt.h
diff options
context:
space:
mode:
authorZeev Suraski <zeev@php.net>2000-02-10 19:41:21 +0000
committerZeev Suraski <zeev@php.net>2000-02-10 19:41:21 +0000
commit6d0ab6166cc1a4eca90211cdfa0ca144704ad677 (patch)
treeee2b2758afeb47bf3a9648c0067d9b747b91e5b2 /main/win95nt.h
parent9709f7ec73557e0a1a85ad3fbc4c73806de50620 (diff)
downloadphp-git-6d0ab6166cc1a4eca90211cdfa0ca144704ad677.tar.gz
SAPIfication, Episode VI: Return of the SAPI
Remove mostly all references to APACHE and CGI_BINARY from the code. - Apache include files are no longer included by any PHP code, except for the Apache SAPI module. - No server specific code is in any of the base PHP code. Still left to be done: - Eliminate any references to APACHE from the few remaining modules. - Move request_info.c's logic to SAPI - Modify the regex function names, and globals, so that we can always include them, without having to fear any interference with Apache; Always use the bundled regex library
Diffstat (limited to 'main/win95nt.h')
-rw-r--r--main/win95nt.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/main/win95nt.h b/main/win95nt.h
index b481d70f61..1d565aa8f6 100644
--- a/main/win95nt.h
+++ b/main/win95nt.h
@@ -25,9 +25,7 @@ typedef char * caddr_t;
#define mkdir(a,b) _mkdir(a)
#define rmdir _rmdir
#define getpid _getpid
-#if !(APACHE)
-#define sleep(t) Sleep(t*1000)
-#endif
+#define php_sleep(t) Sleep(t*1000)
#define getcwd _getcwd
#define snprintf _snprintf
#define off_t _off_t