diff options
Diffstat (limited to 'src/fileio.c')
-rw-r--r-- | src/fileio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fileio.c b/src/fileio.c index d8b395acfd..5a2e388e4a 100644 --- a/src/fileio.c +++ b/src/fileio.c @@ -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 |