summaryrefslogtreecommitdiffstats
path: root/src/fileio.c
diff options
context:
space:
mode:
author=?UTF-8?q?Ola=20S=C3=B6der?= <rolfkopman@gmail.com>2023-03-05 13:12:32 +0000
committerBram Moolenaar <Bram@vim.org>2023-03-05 13:12:32 +0000
commitd8742476d11e75e3b733f21d9aeac1cbd2a02c6f (patch)
treeae90655413daae3c88c7d2c9c9369b2c58f202f6 /src/fileio.c
parent5fb78c3fa5c996c08a65431d698bd2c251eef5c7 (diff)
patch 9.0.1381: ACCESS_ names have a conflict with on some systemsv9.0.1381
Problem: ACCESS_ names have a conflict with on some systems. Solution: Rename by prepending VIM_. (Ola Söder, closes #12105)
Diffstat (limited to 'src/fileio.c')
-rw-r--r--src/fileio.c2
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