summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Beulshausen <dbeu@php.net>2001-01-05 17:00:07 +0000
committerDaniel Beulshausen <dbeu@php.net>2001-01-05 17:00:07 +0000
commit0d258cc52370c6b9b1d773f1d0ef8ae12e163208 (patch)
treeeda8ebdf30c53b488c1921d8fa6f73e40b5767bb
parentaae9e7ee5958284efb42e8ac9b328cc0b43a163b (diff)
downloadphp-git-0d258cc52370c6b9b1d773f1d0ef8ae12e163208.tar.gz
make threaded apache module build again
-rw-r--r--sapi/apache/php_apache.c4
1 files changed, 4 insertions, 0 deletions
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
}
/* }}} */