From 0d258cc52370c6b9b1d773f1d0ef8ae12e163208 Mon Sep 17 00:00:00 2001 From: Daniel Beulshausen Date: Fri, 5 Jan 2001 17:00:07 +0000 Subject: [PATCH] make threaded apache module build again --- sapi/apache/php_apache.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/sapi/apache/php_apache.c b/sapi/apache/php_apache.c index 1c7095f435..294fe161b3 100644 --- a/sapi/apache/php_apache.c +++ b/sapi/apache/php_apache.c @@ -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 } /* }}} */ -- 2.50.1