From: Uwe Schindler Date: Mon, 24 Mar 2003 10:33:21 +0000 (+0000) Subject: PHP_WIN32 included X-Git-Tag: RELEASE_0_5~364 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0353b50f807f2803e16fd18d995fda47d6d34e10;p=php PHP_WIN32 included --- diff --git a/sapi/nsapi/nsapi.c b/sapi/nsapi/nsapi.c index 155d812aec..a9ed176d6d 100644 --- a/sapi/nsapi/nsapi.c +++ b/sapi/nsapi/nsapi.c @@ -36,11 +36,10 @@ #include "ext/standard/php_standard.h" /* - * If neither XP_UNIX not XP_WIN32 is defined, try to guess which one. - * Ideally, this should be done by the configure script. + * If neither XP_UNIX not XP_WIN32 is defined use PHP_WIN32 */ #if !defined(XP_UNIX) && !defined(XP_WIN32) -#if defined(WIN32) +#ifdef PHP_WIN32 #define XP_WIN32 #else #define XP_UNIX @@ -581,7 +580,7 @@ int NSAPI_PUBLIC php4_execute(pblock *pb, Session *sn, Request *rq) /*********************************************************/ int NSAPI_PUBLIC php4_auth_trans(pblock * pb, Session * sn, Request * rq) { - /* This is a DO NOTHING function that allows authentication + /* This is a DO NOTHING function that allows authentication * information * to be passed through to PHP scripts. */ @@ -596,4 +595,3 @@ int NSAPI_PUBLIC php4_auth_trans(pblock * pb, Session * sn, Request * rq) * vim600: sw=4 ts=4 fdm=marker * vim<600: sw=4 ts=4 */ - \ No newline at end of file