diff options
Diffstat (limited to 'ext/standard/php_dir.h')
-rw-r--r-- | ext/standard/php_dir.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/standard/php_dir.h b/ext/standard/php_dir.h index 3326b94a0a..7bef9249e7 100644 --- a/ext/standard/php_dir.h +++ b/ext/standard/php_dir.h @@ -28,7 +28,7 @@ PHP_RINIT_FUNCTION(dir); PHP_FUNCTION(opendir); PHP_FUNCTION(closedir); PHP_FUNCTION(chdir); -#if !defined(ZEND_WIN32)&&!defined(ZTS) +#if defined(HAVE_CHROOT) && !defined(ZTS) PHP_FUNCTION(chroot); #endif PHP_FUNCTION(getcwd); |