diff include/SDL_config_macosx.h @ 3926:9785a5be718e SDL-1.2

Fixed Mac OS X config header when compiling with -Wundef.
author Ryan C. Gordon <icculus@icculus.org>
date Wed, 28 Mar 2007 00:36:35 +0000
parents 78ff7d10dbb5
children 568c9b3c0167
line wrap: on
line diff
--- 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