summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUwe Schindler <thetaphi@php.net>2003-03-24 10:33:21 +0000
committerUwe Schindler <thetaphi@php.net>2003-03-24 10:33:21 +0000
commit0353b50f807f2803e16fd18d995fda47d6d34e10 (patch)
tree42d616265125fcec3a88eb3cdbd67cb9247bfac1
parent0b4784d951d0fac452334cda6732312edff7a46e (diff)
downloadphp-git-0353b50f807f2803e16fd18d995fda47d6d34e10.tar.gz
PHP_WIN32 included
-rw-r--r--sapi/nsapi/nsapi.c8
1 files 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