0
0
mirror of https://github.com/vim/vim.git synced 2025-09-25 03:54:15 -04:00

patch 9.0.1381: ACCESS_ names have a conflict with on some systems

Problem:    ACCESS_ names have a conflict with on some systems.
Solution:   Rename by prepending VIM_. (Ola Söder, closes #12105)
This commit is contained in:
=?UTF-8?q?Ola=20S=C3=B6der?=
2023-03-05 13:12:32 +00:00
committed by Bram Moolenaar
parent 5fb78c3fa5
commit d8742476d1
5 changed files with 11 additions and 9 deletions

View File

@@ -3830,7 +3830,7 @@ vim_rename(char_u *from, char_u *to)
* original file will be somewhere else so the backup isn't really
* important. If autoscripting is off the rename may fail.
*/
flock = Lock((UBYTE *)from, (long)ACCESS_READ);
flock = Lock((UBYTE *)from, (long)VIM_ACCESS_READ);
#endif
mch_remove(to);
#ifdef AMIGA