comparison include/SDL_syswm.h @ 1487:dc6b59e925a2

Cleaning up warnings on MacOS X
author Sam Lantinga <slouken@libsdl.org>
date Thu, 09 Mar 2006 06:33:21 +0000
parents bb6839704ed6
children a80e1e0880b8
comparison
equal deleted inserted replaced
1486:9d77fc9d0ace 1487:dc6b59e925a2
46 #else 46 #else
47 47
48 /* This is the structure for custom window manager events */ 48 /* This is the structure for custom window manager events */
49 #if SDL_VIDEO_DRIVER_X11 49 #if SDL_VIDEO_DRIVER_X11
50 #if defined(__APPLE__) && defined(__MACH__) 50 #if defined(__APPLE__) && defined(__MACH__)
51 // conflicts with Quickdraw.h 51 /* conflicts with Quickdraw.h */
52 #define Cursor X11Cursor 52 #define Cursor X11Cursor
53 #endif 53 #endif
54 54
55 #include <X11/Xlib.h> 55 #include <X11/Xlib.h>
56 #include <X11/Xatom.h> 56 #include <X11/Xatom.h>
57 57
58 #if defined(__APPLE__) && defined(__MACH__) 58 #if defined(__APPLE__) && defined(__MACH__)
59 // matches the re-define above 59 /* matches the re-define above */
60 #undef Cursor 60 #undef Cursor
61 #endif 61 #endif
62 62
63 /* These are the various supported subsystems under UNIX */ 63 /* These are the various supported subsystems under UNIX */
64 typedef enum { 64 typedef enum {