Fixed building SDL under Xcode
authorSam Lantinga <slouken@libsdl.org>
Mon, 11 Feb 2013 11:09:55 -0800
changeset 6840 9fb970f83002
parent 6839 2494f667555c
child 6841 90bba8d8e42a
Fixed building SDL under Xcode
include/SDL_config_macosx.h
--- a/include/SDL_config_macosx.h	Fri Feb 08 07:14:50 2013 -0800
+++ b/include/SDL_config_macosx.h	Mon Feb 11 11:09:55 2013 -0800
@@ -130,7 +130,7 @@
 /* Enable various video drivers */
 #define SDL_VIDEO_DRIVER_COCOA	1
 #define SDL_VIDEO_DRIVER_DUMMY	1
-#define SDL_VIDEO_DRIVER_X11 0
+#undef SDL_VIDEO_DRIVER_X11
 #define SDL_VIDEO_DRIVER_X11_DYNAMIC "/usr/X11R6/lib/libX11.6.dylib"
 #define SDL_VIDEO_DRIVER_X11_DYNAMIC_XEXT "/usr/X11R6/lib/libXext.6.dylib"
 #define SDL_VIDEO_DRIVER_X11_DYNAMIC_XINERAMA "/usr/X11R6/lib/libXinerama.1.dylib"