[Title] Fix keyboard build issue on Mac
authorJun Tian <jun.j.tian@intel.com>
Thu, 19 Jul 2012 08:30:12 +0000 (16:30 +0800)
committergiwoong.kim <giwoong.kim@samsung.com>
Wed, 1 Aug 2012 07:39:09 +0000 (16:39 +0900)
[Type]
[Module]
[Priority]
[Jira#]
[Redmine#]
[Problem]
[Cause]
[Solution]
[TestCase]

ui/sdl.c

index 8cafc44..79dc470 100644 (file)
--- a/ui/sdl.c
+++ b/ui/sdl.c
@@ -256,7 +256,7 @@ static uint8_t sdl_keyevent_to_keycode(const SDL_KeyboardEvent *ev)
 
 #else
 
-#if defined(SDL_VIDEO_DRIVER_X11)
+#if (defined(SDL_VIDEO_DRIVER_X11) && !defined(__APPLE__))
 #include <X11/XKBlib.h>
 
 static int check_for_evdev(void)