diff --git a/main/SAPI.c b/main/SAPI.c index 51956b94d87..14ddf856c58 100644 --- a/main/SAPI.c +++ b/main/SAPI.c @@ -85,7 +85,7 @@ SAPI_API void sapi_startup(sapi_module_struct *sf) sapi_globals_ctor(&sapi_globals); #endif -#ifdef ZTS +#ifdef VIRTUAL_DIR virtual_cwd_startup(); /* Could use shutdown to free the main cwd but it would just slow it down for CGI */ #endif @@ -97,7 +97,7 @@ SAPI_API void sapi_startup(sapi_module_struct *sf) SAPI_API void sapi_shutdown(void) { reentrancy_shutdown(); -#ifdef ZTS +#ifdef VIRTUAL_DIR virtual_cwd_shutdown(); #endif php_global_shutdown_internal_extensions();