From 0353b50f807f2803e16fd18d995fda47d6d34e10 Mon Sep 17 00:00:00 2001 From: Uwe Schindler Date: Mon, 24 Mar 2003 10:33:21 +0000 Subject: [PATCH] PHP_WIN32 included --- sapi/nsapi/nsapi.c | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) 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 -- 2.50.1