From cdfe9f310b41a71025890ef842cd002de908a5c9 Mon Sep 17 00:00:00 2001 From: "Ryan C. Gordon" Date: Wed, 28 Mar 2007 00:36:35 +0000 Subject: [PATCH] Fixed Mac OS X config header when compiling with -Wundef. --- include/SDL_config_macosx.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/SDL_config_macosx.h b/include/SDL_config_macosx.h index 15b0025cd..481c22edc 100644 --- a/include/SDL_config_macosx.h +++ b/include/SDL_config_macosx.h @@ -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