summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVincent Torri <vincent.torri@gmail.com>2011-01-07 18:08:42 +0000
committerVincent Torri <vincent.torri@gmail.com>2011-01-07 18:08:42 +0000
commit23b182c2f726e1a763f045e7cfff22c1906a3426 (patch)
tree9080178f6912094f6644e5eeb6fdb172b767d3cb
parent8050725f84a7a8ef34ecb0fd920148c7805bad7d (diff)
sync() does not exist on Windows (XP or CE)
SVN revision: 55982
-rw-r--r--src/bin/engine_software_16_wince.c2
-rw-r--r--src/bin/ui.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/bin/engine_software_16_wince.c b/src/bin/engine_software_16_wince.c
index fd9d5d8..4506f2e 100644
--- a/src/bin/engine_software_16_wince.c
+++ b/src/bin/engine_software_16_wince.c
@@ -175,8 +175,6 @@ engine_software_16_wince_args(const char *engine, int width, int height)
175 HWND task_bar; 175 HWND task_bar;
176 HWND sip_window; 176 HWND sip_window;
177 HWND sip_icon; 177 HWND sip_icon;
178 int width;
179 int height;
180 int stride_x; 178 int stride_x;
181 int stride_y; 179 int stride_y;
182 int bpp; 180 int bpp;
diff --git a/src/bin/ui.c b/src/bin/ui.c
index 14b4c25..9627b25 100644
--- a/src/bin/ui.c
+++ b/src/bin/ui.c
@@ -551,10 +551,12 @@ _ui_setup(void)
551#undef UI 551#undef UI
552 _ui_menu_item_add("exit.png", "Exit", _ui_exit); 552 _ui_menu_item_add("exit.png", "Exit", _ui_exit);
553 553
554#ifndef _WIN32
554 /* make sure disk io isn't going to turn up unexpectedly */ 555 /* make sure disk io isn't going to turn up unexpectedly */
555 sync(); 556 sync();
556 sync(); 557 sync();
557 sync(); 558 sync();
559#endif
558 /* warm up the cpu with some spinning */ 560 /* warm up the cpu with some spinning */
559 t0 = time(NULL); 561 t0 = time(NULL);
560 for (;;) 562 for (;;)