Mercurial > sdl-ios-xcode
comparison src/video/x11/SDL_x11events.c @ 3241:08c5964f2a34
Fixed a few issues compiling with Mac OS X 10.6
Unfortunately the audio and cdrom systems do not build at all, and if you
disable those, SDL still fails to link with these errors:
Undefined symbols:
"_OBJC_IVAR_$_NSScreen._frame", referenced from:
-[NSScreen(NSScreenAccess) setFrame:] in SDL_cocoamodes.o
"_KLGetKeyboardLayoutProperty", referenced from:
_UpdateKeymap in SDL_cocoakeyboard.o
_UpdateKeymap in SDL_cocoakeyboard.o
"_KLGetCurrentKeyboardLayout", referenced from:
_UpdateKeymap in SDL_cocoakeyboard.o
ld: symbol(s) not found
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Sat, 05 Sep 2009 07:33:54 +0000 |
parents | 08747e24a50f |
children | d9dd6cbba4c0 |
comparison
equal
deleted
inserted
replaced
3240:6c4736b446e8 | 3241:08c5964f2a34 |
---|---|
23 | 23 |
24 #include <sys/types.h> | 24 #include <sys/types.h> |
25 #include <sys/time.h> | 25 #include <sys/time.h> |
26 #include <unistd.h> | 26 #include <unistd.h> |
27 | 27 |
28 #include "SDL_syswm.h" | |
29 #include "SDL_x11video.h" | 28 #include "SDL_x11video.h" |
30 #include "../../events/SDL_events_c.h" | 29 #include "../../events/SDL_events_c.h" |
31 #include "../../events/SDL_mouse_c.h" | 30 #include "../../events/SDL_mouse_c.h" |
31 | |
32 #include "SDL_syswm.h" | |
32 | 33 |
33 static void | 34 static void |
34 X11_DispatchEvent(_THIS) | 35 X11_DispatchEvent(_THIS) |
35 { | 36 { |
36 SDL_VideoData *videodata = (SDL_VideoData *) _this->driverdata; | 37 SDL_VideoData *videodata = (SDL_VideoData *) _this->driverdata; |