diff options
author | jkoan <jkoan@gmx.de> | 2019-05-25 10:35:53 +0200 |
---|---|---|
committer | jkoan <jkoan@gmx.de> | 2019-05-25 10:58:24 +0200 |
commit | 626624633bb9aae02a4a929f96e0a0ea8683f04a (patch) | |
tree | a289e43fba3de351351fd8d7e78b40b4bbdc23cd | |
parent | b2a93644cb2337e74033bb24dde19b2dc543a047 (diff) | |
download | navit-626624633bb9aae02a4a929f96e0a0ea8683f04a.tar.gz |
fix:build:Add sync for windows as well
-rw-r--r-- | navit/bookmarks.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/navit/bookmarks.c b/navit/bookmarks.c index 9fb11efe9..91c22dcf0 100644 --- a/navit/bookmarks.c +++ b/navit/bookmarks.c @@ -365,6 +365,10 @@ static int bookmarks_store_bookmarks_to_file(struct bookmarks *this_, int limit FlushFileBuffers(f) #endif FlushFileBuffers +#ifdef FlushFileBuffers + FlushFileBuffers(f) +#endif FlushFileBuffers + fclose(f); g_hash_table_destroy(dedup); |