summaryrefslogtreecommitdiff
path: root/ext/standard/file.h
diff options
context:
space:
mode:
Diffstat (limited to 'ext/standard/file.h')
-rw-r--r--ext/standard/file.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/standard/file.h b/ext/standard/file.h
index e3cdc4aad9..853cf1342f 100644
--- a/ext/standard/file.h
+++ b/ext/standard/file.h
@@ -66,7 +66,9 @@ PHP_FUNCTION(flock);
PHP_FUNCTION(fd_set);
PHP_FUNCTION(fd_isset);
PHP_FUNCTION(select);
+#if (!defined(PHP_WIN32) && !defined(__BEOS__) && HAVE_REALPATH) || defined(ZTS)
PHP_FUNCTION(realpath);
+#endif
PHP_NAMED_FUNCTION(php_if_ftruncate);
PHP_NAMED_FUNCTION(php_if_fstat);