From 0d073a9ade6e3cd7ee694c6b08a4d4c135dcc72b Mon Sep 17 00:00:00 2001 From: Jun Tian Date: Thu, 19 Jul 2012 16:30:12 +0800 Subject: [PATCH] [Title] Fix keyboard build issue on Mac [Type] [Module] [Priority] [Jira#] [Redmine#] [Problem] [Cause] [Solution] [TestCase] --- ui/sdl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/sdl.c b/ui/sdl.c index 8cafc44e71..79dc47064c 100644 --- 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 static int check_for_evdev(void) -- 2.34.1