From: munkyu.im Date: Wed, 23 Jan 2013 11:41:17 +0000 (+0900) Subject: shared memory: add liunx difinition X-Git-Tag: Tizen_Studio_1.3_Release_p2.3.1~1117 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1c73a1b80786648ab089ac25f516af998670e4f2;p=sdk%2Femulator%2Fqemu.git shared memory: add liunx difinition Signed-off-by: munkyu.im --- diff --git a/tizen/src/maru_sdl.c b/tizen/src/maru_sdl.c index fc8b33b783..ca275d1aa5 100644 --- a/tizen/src/maru_sdl.c +++ b/tizen/src/maru_sdl.c @@ -38,7 +38,9 @@ #include "maru_finger.h" #include "hw/maru_pm.h" #include "debug_ch.h" +#if defined(CONFIG_LINUX) #include +#endif //#include "SDL_opengl.h" MULTI_DEBUG_CHANNEL(tizen, maru_sdl); @@ -541,12 +543,12 @@ void maruskin_sdl_quit(void) SDL_Quit(); +#if defined(CONFIG_LINUX) if (shmctl(g_shmid, IPC_RMID, 0) == -1) { ERR("shmctl failed\n"); perror("maru_sdl.c: "); } - - +#endif }