summaryrefslogtreecommitdiffstats
path: root/src/macros.h
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2020-12-30 13:14:45 +0100
committerBram Moolenaar <Bram@vim.org>2020-12-30 13:14:45 +0100
commit467676d468cb10db78d79d5bd2139ded9f70d26f (patch)
tree6774f48d11ae06b628bbaee4f029114392172fea /src/macros.h
parent4d8c96d4668ac965d4e84b9676fba6d7efe62a32 (diff)
patch 8.2.2247: VMS: various smaller problemsv8.2.2247
Problem: VMS: various smaller problems. Solution: Fix VMS building and other problems. (Zoltan Arpadffy)
Diffstat (limited to 'src/macros.h')
-rw-r--r--src/macros.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/macros.h b/src/macros.h
index 7557b26917..366413a917 100644
--- a/src/macros.h
+++ b/src/macros.h
@@ -158,8 +158,8 @@
# define mch_access(n, p) access(vms_fixfilename(n), (p))
// see mch_open() comment
# define mch_fopen(n, p) fopen(vms_fixfilename(n), (p))
-# define mch_fstat(n, p) fstat(vms_fixfilename(n), (p))
- // VMS does not have lstat()
+# define mch_fstat(n, p) fstat((n), (p))
+# undef HAVE_LSTAT // VMS does not have lstat()
# define mch_stat(n, p) stat(vms_fixfilename(n), (p))
# define mch_rmdir(n) rmdir(vms_fixfilename(n))
#else