0
0
mirror of https://github.com/vim/vim.git synced 2025-10-06 05:44:14 -04:00

updated for version 7.4.644

Problem:    Stratus VOS doesn't have sync().
Solution:   Use fflush(). (Karli Aurelia)
This commit is contained in:
Bram Moolenaar
2015-02-27 18:25:16 +01:00
parent c6b7217ff5
commit ba17ed6797
2 changed files with 4 additions and 1 deletions

View File

@@ -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();