From: SeokYeon Hwang Date: Fri, 1 Aug 2014 04:14:27 +0000 (+0900) Subject: emulator: fix issue that skin is not started on MacOS X-Git-Tag: Tizen_Studio_1.3_Release_p2.3.1~228^2^2~48^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=563fe9e46cab80213d1205d062077917b3a193b1;p=sdk%2Femulator%2Fqemu.git emulator: fix issue that skin is not started on MacOS Change-Id: Ib696c4afceab66338779d402bc1bb337bd6400a8 Signed-off-by: SeokYeon Hwang --- diff --git a/tizen/src/emulator.c b/tizen/src/emulator.c index 572499f5f7..73a2544a8f 100644 --- a/tizen/src/emulator.c +++ b/tizen/src/emulator.c @@ -79,7 +79,7 @@ void emulator_add_exit_notifier(Notifier *notify) qemu_add_exit_notifier(notify); } -#ifdef CONFIG_SDL +#if defined(CONFIG_SDL) || defined(CONFIG_USE_SHM) static void construct_main_window(int skin_argc, char *skin_argv[], int qemu_argc, char *qemu_argv[]) { @@ -276,7 +276,7 @@ const char *prepare_maru(const gchar * const kernel_cmdline) return maru_kernel_cmdline; } -#ifdef CONFIG_SDL +#if defined(CONFIG_SDL) || defined(CONFIG_USE_SHM) void start_skin(void) { LOG_INFO("Start skin\n"); diff --git a/vl.c b/vl.c index 3da782a66a..702ff1ba70 100644 --- a/vl.c +++ b/vl.c @@ -4581,7 +4581,7 @@ int main(int argc, char **argv, char **envp) break; #endif #if defined(CONFIG_MARU) -#if defined(CONFIG_SDL) +#if defined(CONFIG_SDL) || defined(CONFIG_USE_SHM) case DT_MARU: maru_display_init(ds); if (skin_disabled == 1) {