comparison src/macros.h @ 23408:bdda90ed5f6c v8.2.2247

patch 8.2.2247: VMS: various smaller problems Commit: https://github.com/vim/vim/commit/467676d468cb10db78d79d5bd2139ded9f70d26f Author: Bram Moolenaar <Bram@vim.org> Date: Wed Dec 30 13:14:45 2020 +0100 patch 8.2.2247: VMS: various smaller problems Problem: VMS: various smaller problems. Solution: Fix VMS building and other problems. (Zoltan Arpadffy)
author Bram Moolenaar <Bram@vim.org>
date Wed, 30 Dec 2020 13:15:05 +0100
parents e7801d132dcb
children 49d866e9b439
comparison
equal deleted inserted replaced
23407:675b60086d83 23408:bdda90ed5f6c
156 */ 156 */
157 #ifdef VMS 157 #ifdef VMS
158 # define mch_access(n, p) access(vms_fixfilename(n), (p)) 158 # define mch_access(n, p) access(vms_fixfilename(n), (p))
159 // see mch_open() comment 159 // see mch_open() comment
160 # define mch_fopen(n, p) fopen(vms_fixfilename(n), (p)) 160 # define mch_fopen(n, p) fopen(vms_fixfilename(n), (p))
161 # define mch_fstat(n, p) fstat(vms_fixfilename(n), (p)) 161 # define mch_fstat(n, p) fstat((n), (p))
162 // VMS does not have lstat() 162 # undef HAVE_LSTAT // VMS does not have lstat()
163 # define mch_stat(n, p) stat(vms_fixfilename(n), (p)) 163 # define mch_stat(n, p) stat(vms_fixfilename(n), (p))
164 # define mch_rmdir(n) rmdir(vms_fixfilename(n)) 164 # define mch_rmdir(n) rmdir(vms_fixfilename(n))
165 #else 165 #else
166 # ifndef MSWIN 166 # ifndef MSWIN
167 # define mch_access(n, p) access((n), (p)) 167 # define mch_access(n, p) access((n), (p))