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 39269785a5be718e
parent 3925 78ff7d10dbb5
child 3927 f86ced1837de
Fixed Mac OS X config header when compiling with -Wundef.
include/SDL_config_macosx.h
     1.1 --- a/include/SDL_config_macosx.h	Tue Mar 27 00:37:51 2007 +0000
     1.2 +++ b/include/SDL_config_macosx.h	Wed Mar 28 00:36:35 2007 +0000
     1.3 @@ -117,7 +117,7 @@
     1.4  
     1.5  /* Enable various video drivers */
     1.6  #define SDL_VIDEO_DRIVER_DUMMY	1
     1.7 -#if TARGET_API_MAC_CARBON
     1.8 +#if ((defined TARGET_API_MAC_CARBON) && (TARGET_API_MAC_CARBON))
     1.9  #define SDL_VIDEO_DRIVER_TOOLBOX	1
    1.10  #else
    1.11  #define SDL_VIDEO_DRIVER_QUARTZ	1