[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 8cafc44e71e95990efd36959faf2a2fbdefb0e6a..79dc47064cea2c9c89a756d4d7da3c07a009c484 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)