]> 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:20 +0000 (13:46 +0000)
committerUwe Schindler <thetaphi@php.net>
Tue, 6 Jan 2009 13:46:20 +0000 (13:46 +0000)
sapi/nsapi/nsapi.c

index 4f2306447fbcc20e671ca2e737cb2a5c00c74516..ccef7a49002c5f2a40d285b747e60315f6488c48 100644 (file)
@@ -238,13 +238,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;
@@ -278,7 +271,6 @@ static void php_nsapi_init_dynamic_symbols(void)
                nsapi_servact_fileinfo = NULL;
                nsapi_servact_service = NULL;
        }
-#endif
 }
 /* }}} */