summaryrefslogtreecommitdiff
path: root/src/memfile.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2015-02-27 18:25:16 +0100
committerBram Moolenaar <Bram@vim.org>2015-02-27 18:25:16 +0100
commitba17ed6797421b377ec0cac7ec186d24bf5b3979 (patch)
treea100a5450fae1960dd5fae32edf5159c872af6d2 /src/memfile.c
parentc6b7217ff502b8fc28d6c861d25c1943e30973ad (diff)
downloadvim-ba17ed6797421b377ec0cac7ec186d24bf5b3979.zip
updated for version 7.4.644
Problem: Stratus VOS doesn't have sync(). Solution: Use fflush(). (Karli Aurelia)
Diffstat (limited to 'src/memfile.c')
-rw-r--r--src/memfile.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/memfile.c b/src/memfile.c
index d1bc96a57..57c9d92fd 100644
--- a/src/memfile.c
+++ b/src/memfile.c
@@ -639,7 +639,8 @@ mf_sync(mfp, flags)
# endif
/* OpenNT is strictly POSIX (Benzinger) */
/* Tandem/Himalaya NSK-OSS doesn't have sync() */
-# if defined(__OPENNT) || defined(__TANDEM)
+ /* No sync() on Stratus VOS */
+# if defined(__OPENNT) || defined(__TANDEM) || defined(__VOS__)
fflush(NULL);
# else
sync();