summaryrefslogtreecommitdiff
path: root/sapi/nsapi
diff options
context:
space:
mode:
authorUwe Schindler <thetaphi@php.net>2009-01-06 13:46:20 +0000
committerUwe Schindler <thetaphi@php.net>2009-01-06 13:46:20 +0000
commit3d4c47e2e5de9deb0ee3662b200dcc928b6e8196 (patch)
tree98136afd9a6ebd23acb945dab4cd0e24ef58d54b /sapi/nsapi
parent9e831698f6da2f8cd7c2e681ec96e15654677386 (diff)
downloadphp-git-3d4c47e2e5de9deb0ee3662b200dcc928b6e8196.tar.gz
MFH: the #ifdef was never working. If Sun extends its NSAPI to support subrequests, much of this code must be rewritten. Because of that it is better to have a clean start. This commit does not change behaviour.
Diffstat (limited to 'sapi/nsapi')
-rw-r--r--sapi/nsapi/nsapi.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/sapi/nsapi/nsapi.c b/sapi/nsapi/nsapi.c
index 4f2306447f..ccef7a4900 100644
--- a/sapi/nsapi/nsapi.c
+++ b/sapi/nsapi/nsapi.c
@@ -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
}
/* }}} */