summaryrefslogtreecommitdiff
path: root/ext/standard/php_dir.h
diff options
context:
space:
mode:
authorDerick Rethans <derick@php.net>2001-02-15 00:43:44 +0000
committerDerick Rethans <derick@php.net>2001-02-15 00:43:44 +0000
commit8cef8a9ca150c11f6d61d662fe88298760ad7583 (patch)
tree114d6511b47bd47be18c0b0adb936d13b78e0213 /ext/standard/php_dir.h
parent28b2869ac863efb2477a9410b7ec6c9ccef6b58d (diff)
downloadphp-git-8cef8a9ca150c11f6d61d662fe88298760ad7583.tar.gz
- chroot does not work on windows
Diffstat (limited to 'ext/standard/php_dir.h')
-rw-r--r--ext/standard/php_dir.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/standard/php_dir.h b/ext/standard/php_dir.h
index 7e48f0783e..3326b94a0a 100644
--- a/ext/standard/php_dir.h
+++ b/ext/standard/php_dir.h
@@ -28,7 +28,9 @@ PHP_RINIT_FUNCTION(dir);
PHP_FUNCTION(opendir);
PHP_FUNCTION(closedir);
PHP_FUNCTION(chdir);
+#if !defined(ZEND_WIN32)&&!defined(ZTS)
PHP_FUNCTION(chroot);
+#endif
PHP_FUNCTION(getcwd);
PHP_FUNCTION(rewinddir);
PHP_NAMED_FUNCTION(php_if_readdir);