sync() does not exist on Windows (XP or CE)

SVN revision: 55982
This commit is contained in:
Vincent Torri 2011-01-07 18:08:42 +00:00
parent 8050725f84
commit 23b182c2f7
2 changed files with 2 additions and 2 deletions

View File

@ -175,8 +175,6 @@ engine_software_16_wince_args(const char *engine, int width, int height)
HWND task_bar;
HWND sip_window;
HWND sip_icon;
int width;
int height;
int stride_x;
int stride_y;
int bpp;

View File

@ -551,10 +551,12 @@ _ui_setup(void)
#undef UI
_ui_menu_item_add("exit.png", "Exit", _ui_exit);
#ifndef _WIN32
/* make sure disk io isn't going to turn up unexpectedly */
sync();
sync();
sync();
#endif
/* warm up the cpu with some spinning */
t0 = time(NULL);
for (;;)