comparison src/os_unix.h @ 23503:49d866e9b439 v8.2.2294

patch 8.2.2294: VMS: a few remaining problems Commit: https://github.com/vim/vim/commit/82c38fe508155c11a904e6111b5bfb6adde3fb9a Author: Bram Moolenaar <Bram@vim.org> Date: Mon Jan 4 10:47:26 2021 +0100 patch 8.2.2294: VMS: a few remaining problems Problem: VMS: a few remaining problems. Solution: Add VMS specific changes. Add Lua support. (Zoltan Arpadffy)
author Bram Moolenaar <Bram@vim.org>
date Mon, 04 Jan 2021 11:00:11 +0100
parents bdda90ed5f6c
children 3f5f25f7d8a2
comparison
equal deleted inserted replaced
23502:f2f8c3848831 23503:49d866e9b439
71 #endif 71 #endif
72 72
73 // always use unlink() to remove files 73 // always use unlink() to remove files
74 #ifndef PROTO 74 #ifndef PROTO
75 # ifdef VMS 75 # ifdef VMS
76 # define mch_remove(x) delete((char *)(x)) 76 # define vim_mkdir(x, y) mkdir((char *)vms_fixfilename(x), y)
77 # define vim_mkdir(x, y) mkdir((char *)(x), y) 77 # define mch_rmdir(x) delete((char *)vms_fixfilename(x))
78 # define mch_remove(x) delete((char *)vms_fixfilename(x))
78 # else 79 # else
79 # define vim_mkdir(x, y) mkdir((char *)(x), y) 80 # define vim_mkdir(x, y) mkdir((char *)(x), y)
80 # define mch_rmdir(x) rmdir((char *)(x)) 81 # define mch_rmdir(x) rmdir((char *)(x))
81 # define mch_remove(x) unlink((char *)(x)) 82 # define mch_remove(x) unlink((char *)(x))
82 # endif 83 # endif