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

SVN revision: 55982
expedite-1.1
Vincent Torri 13 years ago
parent 8050725f84
commit 23b182c2f7
  1. 2
      src/bin/engine_software_16_wince.c
  2. 2
      src/bin/ui.c

@ -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…
Cancel
Save