summaryrefslogtreecommitdiff
path: root/src/fileio.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2005-06-21 22:37:39 +0000
committerBram Moolenaar <Bram@vim.org>2005-06-21 22:37:39 +0000
commitd857f0e0f419ffcc8a17d2724d5f3fa62da590a7 (patch)
tree0a5a35fc6d2861e18bc87f4a91652198a7a6e60b /src/fileio.c
parent3f7704760770fb4382f61b27ae7762365db5c70a (diff)
downloadvim-git-d857f0e0f419ffcc8a17d2724d5f3fa62da590a7.tar.gz
updated for version 7.0089v7.0089
Diffstat (limited to 'src/fileio.c')
-rw-r--r--src/fileio.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/fileio.c b/src/fileio.c
index e239b5cd8..9ae69cf10 100644
--- a/src/fileio.c
+++ b/src/fileio.c
@@ -3183,7 +3183,7 @@ buf_write(buf, fname, sfname, start, end, eap, append, forceit,
struct stat st_new;
char_u *dirp;
char_u *rootname;
-#ifndef SHORT_FNAME
+#if defined(UNIX) && !defined(SHORT_FNAME)
int did_set_shortname;
#endif
@@ -3226,7 +3226,7 @@ buf_write(buf, fname, sfname, start, end, eap, append, forceit,
goto nobackup;
}
-#ifndef SHORT_FNAME
+#if defined(UNIX) && !defined(SHORT_FNAME)
did_set_shortname = FALSE;
#endif