Patched to compile on Mac OS X with Xcode (Unix configure already worked).
authorRyan C. Gordon <icculus@icculus.org>
Wed, 11 Jul 2012 20:40:02 -0400
changeset 6357 c246c953d0bd
parent 6356 5d4f55bdd0e1
child 6358 50fd16f3c975
Patched to compile on Mac OS X with Xcode (Unix configure already worked).
include/SDL_config_macosx.h
--- a/include/SDL_config_macosx.h	Wed Jul 11 20:20:04 2012 -0400
+++ b/include/SDL_config_macosx.h	Wed Jul 11 20:40:02 2012 -0400
@@ -139,12 +139,15 @@
 #define SDL_VIDEO_DRIVER_X11_DYNAMIC_XSS "/usr/X11R6/lib/libXss.1.dylib"
 #define SDL_VIDEO_DRIVER_X11_DYNAMIC_XVIDMODE "/usr/X11R6/lib/libXxf86vm.1.dylib"
 #define SDL_VIDEO_DRIVER_X11_XINERAMA 1
+/* 
+not included with Mac OS X at the moment...
 #define SDL_VIDEO_DRIVER_X11_XINPUT2 1
+#define SDL_VIDEO_DRIVER_X11_SUPPORTS_GENERIC_EVENTS 1
+*/
 #define SDL_VIDEO_DRIVER_X11_XRANDR 1
 #define SDL_VIDEO_DRIVER_X11_XSCRNSAVER 1
 #define SDL_VIDEO_DRIVER_X11_XSHAPE 1
 #define SDL_VIDEO_DRIVER_X11_XVIDMODE 1
-#define SDL_VIDEO_DRIVER_X11_SUPPORTS_GENERIC_EVENTS 1
 #define SDL_VIDEO_DRIVER_X11_HAS_XKBKEYCODETOKEYSYM 1
 
 #ifndef SDL_VIDEO_RENDER_OGL