diff options
author | Bram Moolenaar <Bram@vim.org> | 2004-07-29 08:43:53 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2004-07-29 08:43:53 +0000 |
commit | 269ec658f0fad22b2bf9f71b06a4e6e10277f0e5 (patch) | |
tree | 450e57b10e8afd1c2a0c49e698a73d508781f67c /src/macros.h | |
parent | 5eb86f91992f5291b8b472d3e1be1888508777e6 (diff) | |
download | vim-git-269ec658f0fad22b2bf9f71b06a4e6e10277f0e5.tar.gz |
updated for version 7.0013
Diffstat (limited to 'src/macros.h')
-rw-r--r-- | src/macros.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/macros.h b/src/macros.h index 6506aee87..43bddba32 100644 --- a/src/macros.h +++ b/src/macros.h @@ -159,7 +159,6 @@ # define mch_fopen(n, p) fopen((n), (p)) # endif # define mch_fstat(n, p) fstat((n), (p)) -# define mch_lstat(n, p) lstat((n), (p)) # ifdef MSWIN /* has it's own mch_stat() function */ # define mch_stat(n, p) vim_stat((n), (p)) # else @@ -173,6 +172,12 @@ # endif #endif +#ifdef HAVE_LSTAT +# define mch_lstat(n, p) lstat((n), (p)) +#else +# define mch_lstat(n, p) mch_stat((n), (p)) +#endif + #ifdef MACOS_CLASSIC /* MacOS classic doesn't support perm but MacOS X does. */ # define mch_open(n, m, p) open((n), (m)) |