diff options
Diffstat (limited to '')
-rw-r--r-- | src/macros.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/macros.h b/src/macros.h index 190778e..38983ac 100644 --- a/src/macros.h +++ b/src/macros.h @@ -194,7 +194,11 @@ #ifdef HAVE_LSTAT # define mch_lstat(n, p) lstat((n), (p)) #else -# define mch_lstat(n, p) mch_stat((n), (p)) +# ifdef MSWIN +# define mch_lstat(n, p) vim_lstat((n), (p)) +# else +# define mch_lstat(n, p) mch_stat((n), (p)) +# endif #endif #ifdef VMS |