summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sapi/thttpd/thttpd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sapi/thttpd/thttpd.c b/sapi/thttpd/thttpd.c
index a29217defc..4f196973ca 100644
--- a/sapi/thttpd/thttpd.c
+++ b/sapi/thttpd/thttpd.c
@@ -371,7 +371,7 @@ static zend_module_entry php_thttpd_module = {
static int php_thttpd_startup(sapi_module_struct *sapi_module)
{
-#if PHP_API >= 20020918
+#if PHP_API_VERSION >= 20020918
if (php_module_startup(sapi_module, &php_thttpd_module, 1) == FAILURE) {
#else
if (php_module_startup(sapi_module) == FAILURE