# HG changeset patch # User Ryan C. Gordon # Date 1175042195 0 # Node ID 9785a5be718e7d72b2dfe18431713cdfbae25c35 # Parent 78ff7d10dbb5f5c00f3448fec4cf320ab9a7469a Fixed Mac OS X config header when compiling with -Wundef. diff -r 78ff7d10dbb5 -r 9785a5be718e 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