From: Pierre Joye Date: Wed, 3 Feb 2010 16:11:56 +0000 (+0000) Subject: - vc6 does not expose it X-Git-Tag: php-5.4.0alpha1~191^2~1983 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=fd1da787bf886729978729f38a3d9134992d4a3d;p=php - vc6 does not expose it --- diff --git a/TSRM/tsrm_virtual_cwd.c b/TSRM/tsrm_virtual_cwd.c index 0d559d122b..bd30cfa854 100644 --- a/TSRM/tsrm_virtual_cwd.c +++ b/TSRM/tsrm_virtual_cwd.c @@ -1002,7 +1002,11 @@ CWD_API int virtual_file_ex(cwd_state *state, const char *path, verify_path_func if (path_length == 0 || path_length >= MAXPATHLEN-1) { #ifdef TSRM_WIN32 +# if _MSC_VER < 1300 + errno = EINVAL; +# else _set_errno(EINVAL); +# endif #else errno = EINVAL; #endif