comparison src/video/x11/SDL_x11window.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 5859d0a0c519
children 64ce267332c6
comparison
equal deleted inserted replaced
3240:6c4736b446e8 3241:08c5964f2a34
19 Sam Lantinga 19 Sam Lantinga
20 slouken@libsdl.org 20 slouken@libsdl.org
21 */ 21 */
22 #include "SDL_config.h" 22 #include "SDL_config.h"
23 23
24 #include "SDL_syswm.h"
25 #include "../SDL_sysvideo.h" 24 #include "../SDL_sysvideo.h"
26 #include "../../events/SDL_keyboard_c.h" 25 #include "../../events/SDL_keyboard_c.h"
27 #include "../../events/SDL_mouse_c.h" 26 #include "../../events/SDL_mouse_c.h"
28 27
29 #include "SDL_x11video.h" 28 #include "SDL_x11video.h"
32 #include "../Xext/extensions/StdCmap.h" 31 #include "../Xext/extensions/StdCmap.h"
33 32
34 #ifdef SDL_VIDEO_DRIVER_PANDORA 33 #ifdef SDL_VIDEO_DRIVER_PANDORA
35 #include "SDL_x11opengles.h" 34 #include "SDL_x11opengles.h"
36 #endif 35 #endif
36
37 #include "SDL_syswm.h"
37 38
38 #define _NET_WM_STATE_REMOVE 0l 39 #define _NET_WM_STATE_REMOVE 0l
39 #define _NET_WM_STATE_ADD 1l 40 #define _NET_WM_STATE_ADD 1l
40 #define _NET_WM_STATE_TOGGLE 2l 41 #define _NET_WM_STATE_TOGGLE 2l
41 42