From: Stanislav Malyshev Date: Tue, 30 Sep 2003 09:52:11 +0000 (+0000) Subject: MF4: allow realpath() for win32 non-ZTS X-Git-Tag: RELEASE_1_3b2~19 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e21669502b23594a5c8622c7c233c261e4928b38;p=php MF4: allow realpath() for win32 non-ZTS --- diff --git a/ext/standard/basic_functions.c b/ext/standard/basic_functions.c index 617aadab0a..34e99c0d91 100644 --- a/ext/standard/basic_functions.c +++ b/ext/standard/basic_functions.c @@ -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 diff --git a/ext/standard/file.c b/ext/standard/file.c index 69b1c00df8..79390cd7a3 100644 --- a/ext/standard/file.c +++ b/ext/standard/file.c @@ -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) diff --git a/ext/standard/file.h b/ext/standard/file.h index 3e06413cbf..f8eb8a0158 100644 --- a/ext/standard/file.h +++ b/ext/standard/file.h @@ -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