Fixed Mac OS X config header when compiling with -Wundef. SDL-1.2
authorRyan C. Gordon <icculus@icculus.org>
Wed, 28 Mar 2007 00:36:35 +0000
branchSDL-1.2
changeset 3926 9785a5be718e
parent 3925 78ff7d10dbb5
child 3927 f86ced1837de
Fixed Mac OS X config header when compiling with -Wundef.
include/SDL_config_macosx.h
--- a/include/SDL_config_macosx.h	Tue Mar 27 00:37:51 2007 +0000
+++ b/include/SDL_config_macosx.h	Wed Mar 28 00:36:35 2007 +0000
@@ -117,7 +117,7 @@
 
 /* Enable various video drivers */
 #define SDL_VIDEO_DRIVER_DUMMY	1
-#if TARGET_API_MAC_CARBON
+#if ((defined TARGET_API_MAC_CARBON) && (TARGET_API_MAC_CARBON))
 #define SDL_VIDEO_DRIVER_TOOLBOX	1
 #else
 #define SDL_VIDEO_DRIVER_QUARTZ	1