changeset 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 f86ced1837de
files include/SDL_config_macosx.h
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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