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:
committed by
Bram Moolenaar
parent
5fb78c3fa5
commit
d8742476d1
@@ -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
|
||||
|
Reference in New Issue
Block a user