svn update: 55982 (latest:55982)
authorJaehwan Kim <jae.hwan.kim@samsung.com>
Wed, 19 Jan 2011 06:57:55 +0000 (15:57 +0900)
committerJaehwan Kim <jae.hwan.kim@samsung.com>
Wed, 19 Jan 2011 06:57:55 +0000 (15:57 +0900)
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 (;;)