diff options
Diffstat (limited to 'main/php_ini.c')
-rw-r--r-- | main/php_ini.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/main/php_ini.c b/main/php_ini.c index 2a413fbaab..f4d2d9a0f1 100644 --- a/main/php_ini.c +++ b/main/php_ini.c @@ -300,7 +300,9 @@ int php_init_config() } else { char *default_location; static const char paths_separator[] = { ZEND_PATHS_SEPARATOR, 0 }; +#ifdef PHP_WIN32 char *reg_location; +#endif php_ini_search_path = (char *) emalloc(MAXPATHLEN * 4 + strlen(env_location) + 3 + 1); free_ini_search_path = 1; |