Mercurial > vim
comparison src/os_unix.h @ 10328:299f1669c20e v8.0.0059
commit https://github.com/vim/vim/commit/de5e2c219b99895445fb75ae3541ee69282a5846
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri Nov 4 20:35:31 2016 +0100
patch 8.0.0059
Problem: Vim does not build on VMS systems.
Solution: Various changes for VMS. (Zoltan Arpadffy)
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Fri, 04 Nov 2016 20:45:04 +0100 |
parents | 4aead6a9b7a9 |
children | 24a1fbd78b76 |
comparison
equal
deleted
inserted
replaced
10327:7140bc579558 | 10328:299f1669c20e |
---|---|
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 mch_remove(x) delete((char *)(x)) |
77 # define vim_mkdir(x, y) mkdir((char *)(x), y) | 77 # define vim_mkdir(x, y) mkdir((char *)(x), y) |
78 # ifdef VAX | |
79 # else | |
80 # define mch_rmdir(x) rmdir((char *)(x)) | |
81 # endif | |
82 # else | 78 # else |
83 # define vim_mkdir(x, y) mkdir((char *)(x), y) | 79 # define vim_mkdir(x, y) mkdir((char *)(x), y) |
84 # define mch_rmdir(x) rmdir((char *)(x)) | 80 # define mch_rmdir(x) rmdir((char *)(x)) |
85 # define mch_remove(x) unlink((char *)(x)) | 81 # define mch_remove(x) unlink((char *)(x)) |
86 # endif | 82 # endif |