sync() does not exist on Windows (XP or CE)
SVN revision: 55982
This commit is contained in:
parent
8050725f84
commit
23b182c2f7
|
@ -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;
|
||||
|
|
|
@ -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 (;;)
|
||||
|
|
Loading…
Reference in New Issue