diff options
author | Pierre Joye <pajoye@php.net> | 2010-02-03 16:11:56 +0000 |
---|---|---|
committer | Pierre Joye <pajoye@php.net> | 2010-02-03 16:11:56 +0000 |
commit | 3247c2595da1141ea4ba1eae7c870510e38e98ea (patch) | |
tree | d1a2c3c5f6090b5bac3c29a1b324a3daaa3a81f3 /TSRM | |
parent | dd38619aa5feb1a4142458f1c4baf31f1443b7f5 (diff) | |
download | php-git-3247c2595da1141ea4ba1eae7c870510e38e98ea.tar.gz |
- vc6 does not expose it
Diffstat (limited to 'TSRM')
-rw-r--r-- | TSRM/tsrm_virtual_cwd.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/TSRM/tsrm_virtual_cwd.c b/TSRM/tsrm_virtual_cwd.c index 6b4a35dd20..3ccc729fc6 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 |