diff options
author | Daniel Beulshausen <dbeu@php.net> | 2001-01-05 17:00:07 +0000 |
---|---|---|
committer | Daniel Beulshausen <dbeu@php.net> | 2001-01-05 17:00:07 +0000 |
commit | 0d258cc52370c6b9b1d773f1d0ef8ae12e163208 (patch) | |
tree | eda8ebdf30c53b488c1921d8fa6f73e40b5767bb /sapi/apache/php_apache.c | |
parent | aae9e7ee5958284efb42e8ac9b328cc0b43a163b (diff) | |
download | php-git-0d258cc52370c6b9b1d773f1d0ef8ae12e163208.tar.gz |
make threaded apache module build again
Diffstat (limited to 'sapi/apache/php_apache.c')
-rw-r--r-- | sapi/apache/php_apache.c | 4 |
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 } /* }}} */ |