]> granicus.if.org Git - php/commitdiff
make threaded apache module build again
authorDaniel Beulshausen <dbeu@php.net>
Fri, 5 Jan 2001 17:00:07 +0000 (17:00 +0000)
committerDaniel Beulshausen <dbeu@php.net>
Fri, 5 Jan 2001 17:00:07 +0000 (17:00 +0000)
sapi/apache/php_apache.c

index 1c7095f4350d1e68c2419fc72884e77b8cd68e3d..294fe161b373862e79bd676d72decdea303a875f 100644 (file)
@@ -114,6 +114,7 @@ zend_module_entry apache_module_entry = {
    Get and set Apache request notes */
 PHP_FUNCTION(apache_child_terminate)
 {
+#ifndef MULTITHREAD
        APLS_FETCH();
        SLS_FETCH();
 
@@ -122,6 +123,9 @@ PHP_FUNCTION(apache_child_terminate)
        } else { /* tell them to get lost! */
                php_error(E_WARNING, "apache.child_terminate is disabled");
        }
+#else
+               php_error(E_WARNING, "apache_child_terminate() is not supported in this build");
+#endif
 }
 /* }}} */