sync() does not exist on Windows (XP or CE)
authorcaro <caro@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Fri, 7 Jan 2011 18:08:42 +0000 (18:08 +0000)
committercaro <caro@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Fri, 7 Jan 2011 18:08:42 +0000 (18:08 +0000)
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/expedite@55982 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/bin/engine_software_16_wince.c
src/bin/ui.c

index fd9d5d8..4506f2e 100644 (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;
index 14b4c25..9627b25 100644 (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 (;;)