mirror of
https://github.com/php/php-src.git
synced 2024-11-26 03:16:33 +08:00
MF4: allow realpath() for win32 non-ZTS
This commit is contained in:
parent
646e83e57f
commit
e21669502b
@ -740,7 +740,7 @@ function_entry basic_functions[] = {
|
||||
|
||||
PHP_FALIAS(socket_get_status, stream_get_meta_data, NULL)
|
||||
|
||||
#if (!defined(PHP_WIN32) && !defined(__BEOS__) && !defined(NETWARE) && HAVE_REALPATH) || defined(ZTS)
|
||||
#if (!defined(__BEOS__) && !defined(NETWARE) && HAVE_REALPATH) || defined(ZTS)
|
||||
PHP_FE(realpath, NULL)
|
||||
#endif
|
||||
|
||||
|
@ -1925,7 +1925,7 @@ normal_char:
|
||||
}
|
||||
/* }}} */
|
||||
|
||||
#if (!defined(PHP_WIN32) && !defined(__BEOS__) && !defined(NETWARE) && HAVE_REALPATH) || defined(ZTS)
|
||||
#if (!defined(__BEOS__) && !defined(NETWARE) && HAVE_REALPATH) || defined(ZTS)
|
||||
/* {{{ proto string realpath(string path)
|
||||
Return the resolved path */
|
||||
PHP_FUNCTION(realpath)
|
||||
|
@ -59,7 +59,7 @@ PHP_FUNCTION(get_meta_tags);
|
||||
PHP_FUNCTION(flock);
|
||||
PHP_FUNCTION(fd_set);
|
||||
PHP_FUNCTION(fd_isset);
|
||||
#if (!defined(PHP_WIN32) && !defined(__BEOS__) && HAVE_REALPATH) || defined(ZTS)
|
||||
#if (!defined(__BEOS__) && !defined(NETWARE) && HAVE_REALPATH) || defined(ZTS)
|
||||
PHP_FUNCTION(realpath);
|
||||
PHP_FUNCTION(fnmatch);
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user