projects
/
sdk
/
emulator
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
11c0922
)
shared memory: add liunx difinition
author
munkyu.im
<munkyu.im@samsung.com>
Wed, 23 Jan 2013 11:41:17 +0000
(20:41 +0900)
committer
munkyu.im
<munkyu.im@samsung.com>
Wed, 23 Jan 2013 11:43:57 +0000
(20:43 +0900)
Signed-off-by: munkyu.im <munkyu.im@samsung.com>
tizen/src/maru_sdl.c
patch
|
blob
|
history
diff --git
a/tizen/src/maru_sdl.c
b/tizen/src/maru_sdl.c
index
fc8b33b
..
ca275d1
100644
(file)
--- 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 <sys/shm.h>
+#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
}