emulator: removed W/A for SDL windows
authorSeokYeon Hwang <syeon.hwang@samsung.com>
Mon, 11 May 2015 05:06:31 +0000 (14:06 +0900)
committerSooyoung Ha <yoosah.ha@samsung.com>
Thu, 20 Aug 2015 07:16:04 +0000 (16:16 +0900)
libSDL should compiled with "--disable-stdio-redirect".

Change-Id: Ia614a26ec3d32afb432f404076f74a16246f422b
(cherry picked from commit c545582b9b2aa26dac39a2a4b0aa83f81e003b57)
Signed-off-by: Sooyoung Ha <yoosah.ha@samsung.com>
tizen/src/emulator.c

index 2b65418da7816914ac0585e63deb069e4f3fedc3..2aa8a964a61c28ab38b4ce96f11ce3abaf0d4e4c 100644 (file)
@@ -332,13 +332,6 @@ static int emulator_main(int argc, char *argv[], char **envp)
     }
 #endif
 
-#ifdef CONFIG_WIN32
-    // SDL_init() routes stdout and stderr to the respective files in win32.
-    // So we revert it.
-    freopen("CON", "w", stdout);
-    freopen("CON", "w", stderr);
-#endif
-
     gchar *profile = NULL;
     gchar *conf = NULL;