diff options
author | Andi Gutmans <andi@php.net> | 2000-06-15 23:45:05 +0000 |
---|---|---|
committer | Andi Gutmans <andi@php.net> | 2000-06-15 23:45:05 +0000 |
commit | 2987d5216ed33e2701a52a5a02f6594ba405564a (patch) | |
tree | 2e49b4826cc96d30cc7c82df6361acdc2bb18617 /ext/hyperwave/hw.c | |
parent | 17ce56825dfe218d3920bce3bb33807b46880014 (diff) | |
download | php-git-2987d5216ed33e2701a52a5a02f6594ba405564a.tar.gz |
- More #if WIN32|WINNT -> #ifdef PHP_WIN32 conversions
Diffstat (limited to 'ext/hyperwave/hw.c')
-rw-r--r-- | ext/hyperwave/hw.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/hyperwave/hw.c b/ext/hyperwave/hw.c index 9957552f0f..254aaa80d6 100644 --- a/ext/hyperwave/hw.c +++ b/ext/hyperwave/hw.c @@ -31,7 +31,7 @@ #include "ext/standard/info.h" #include "SAPI.h" -#if WIN32|WINNT +#ifdef PHP_WIN32 #include <winsock.h> #else #include "build-defs.h" @@ -2060,7 +2060,7 @@ PHP_FUNCTION(hw_getcgi) { string. It should contain any enviroment variable a cgi script requires. */ -#if (WIN32|WINNT) +#ifdef PHP_WIN32 snprintf(cgi_env_str, BUFFERLEN, "CGI_REQUEST_METHOD=%s\nCGI_PATH_INFO=%s\nCGI_QUERY_STRING=%s", getenv("REQUEST_METHOD"), getenv("PATH_INFO"), @@ -2356,7 +2356,7 @@ PHP_FUNCTION(hw_pipecgi) { char *attributes = NULL; int count; -#if (WIN32|WINNT) +#ifdef PHP_WIN32 snprintf(cgi_env_str, BUFFERLEN, "CGI_REQUEST_METHOD=%s\nCGI_PATH_INFO=%s\nCGI_QUERY_STRING=%s", getenv("REQUEST_METHOD"), getenv("PATH_INFO"), |