diff options
author | foobar <sniper@php.net> | 2001-10-23 11:14:51 +0000 |
---|---|---|
committer | foobar <sniper@php.net> | 2001-10-23 11:14:51 +0000 |
commit | f73ee14bd9f8d2f35b3f860c6f85f0c88d2465ab (patch) | |
tree | b2ad995dcc659fa68774255808305bdc0683436a /ext/standard/file.h | |
parent | 76fcdc1afbfa34c2de136d83172bec91b1891ed2 (diff) | |
download | php-git-f73ee14bd9f8d2f35b3f860c6f85f0c88d2465ab.tar.gz |
Check that realpath is available. Bug: #9469
# TSRM still uses it without checking. I can't fix that.
Diffstat (limited to 'ext/standard/file.h')
-rw-r--r-- | ext/standard/file.h | 2 |
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); |