mirror of
https://github.com/php/php-src.git
synced 2024-12-11 10:54:47 +08:00
let this source file compile with php 4.2.x
This commit is contained in:
parent
6442b86bfa
commit
8d25447f30
@ -371,7 +371,12 @@ static zend_module_entry php_thttpd_module = {
|
||||
|
||||
static int php_thttpd_startup(sapi_module_struct *sapi_module)
|
||||
{
|
||||
#if PHP_API >= 20020918
|
||||
if (php_module_startup(sapi_module, &php_thttpd_module, 1) == FAILURE) {
|
||||
#else
|
||||
if (php_module_startup(sapi_module) == FAILURE
|
||||
|| zend_startup_module(&php_thttpd_module) == FAILURE) {
|
||||
#endif
|
||||
return FAILURE;
|
||||
}
|
||||
return SUCCESS;
|
||||
|
Loading…
Reference in New Issue
Block a user