]> granicus.if.org Git - php/commitdiff
MFH: the #ifdef was never working. If Sun extends its NSAPI to support subrequests...
authorUwe Schindler <thetaphi@php.net>
Tue, 6 Jan 2009 13:46:49 +0000 (13:46 +0000)
committerUwe Schindler <thetaphi@php.net>
Tue, 6 Jan 2009 13:46:49 +0000 (13:46 +0000)
sapi/nsapi/nsapi.c

index 485439991def288ff9b9775102a083f7aad7866a..b76b0e5b175103759e0e5d50326cd955cfdb3af1 100644 (file)
@@ -225,13 +225,6 @@ char *nsapi_dll = NULL;
  */
 static void php_nsapi_init_dynamic_symbols(void)
 {
-#if defined(servact_uri2path) && defined(servact_pathchecks) && defined(servact_fileinfo) && defined(servact_service)
-       /* use functions from nsapi.h if available */
-       nsapi_servact_uri2path = &servact_uri2path;
-       nsapi_servact_pathchecks = &servact_pathchecks;
-       nsapi_servact_fileinfo = &servact_fileinfo;
-       nsapi_servact_service = &servact_service;
-#else
        /* find address of internal NSAPI functions */
 #ifdef PHP_WIN32
        register int i;
@@ -265,7 +258,6 @@ static void php_nsapi_init_dynamic_symbols(void)
                nsapi_servact_fileinfo = NULL;
                nsapi_servact_service = NULL;
        }
-#endif
 }
 /* }}} */