summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorYouness Alaoui <kakaroto@kakaroto.homelinux.net>2011-09-18 21:57:24 +0000
committerYouness Alaoui <kakaroto@kakaroto.homelinux.net>2011-09-18 21:57:24 +0000
commitda98dde899a482bc5e589d59890f3e3f0b2c932b (patch)
tree625aaa016b581be64230ec110d0a56fb1d6afb5c /src
parente277ec0fbfcf9468a725cb2d4823f1990c988c69 (diff)
Expedite: Do not call sync() if unavailable on the system (replaces #ifdef WIN32)
SVN revision: 63464
Diffstat (limited to 'src')
-rw-r--r--src/bin/ui.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/ui.c b/src/bin/ui.c
index 9d912ad..3dd05a5 100644
--- a/src/bin/ui.c
+++ b/src/bin/ui.c
@@ -611,7 +611,7 @@ _ui_setup(void)
611#undef UI 611#undef UI
612 _ui_menu_item_add("exit.png", "Exit", _ui_exit); 612 _ui_menu_item_add("exit.png", "Exit", _ui_exit);
613 613
614#ifndef _WIN32 614#ifdef HAVE_SYNC
615 /* make sure disk io isn't going to turn up unexpectedly */ 615 /* make sure disk io isn't going to turn up unexpectedly */
616 sync(); 616 sync();
617 sync(); 617 sync();