include/SDL_config_macosx.h
branchSDL-1.3
changeset 1659 14717b52abc0
parent 1658 e49147870aac
     1.1 --- a/include/SDL_config_macosx.h	Mon May 01 06:58:33 2006 +0000
     1.2 +++ b/include/SDL_config_macosx.h	Wed May 17 08:18:28 2006 +0000
     1.3 @@ -30,7 +30,10 @@
     1.4  #define SDL_HAS_64BIT_TYPE	1
     1.5  
     1.6  /* Useful headers */
     1.7 +/* If we specified an SDK or have a post-PowerPC chip, then alloca.h exists. */
     1.8 +#if ( (MAC_OS_X_VERSION_MIN_REQUIRED >= 1030) || (!defined(__POWERPC__)) )
     1.9  #define HAVE_ALLOCA_H		1
    1.10 +#endif
    1.11  #define HAVE_SYS_TYPES_H	1
    1.12  #define HAVE_STDIO_H	1
    1.13  #define STDC_HEADERS	1
    1.14 @@ -46,12 +49,7 @@
    1.15  #define HAVE_CALLOC	1
    1.16  #define HAVE_REALLOC	1
    1.17  #define HAVE_FREE	1
    1.18 -
    1.19 -/* If we specified an SDK or have a post-PowerPC chip, then alloca.h exists. */
    1.20 -#if ( (MAC_OS_X_VERSION_MIN_REQUIRED >= 1030) || (!defined(__POWERPC__)) )
    1.21  #define HAVE_ALLOCA	1
    1.22 -#endif
    1.23 -
    1.24  #define HAVE_GETENV	1
    1.25  #define HAVE_PUTENV	1
    1.26  #define HAVE_UNSETENV	1
    1.27 @@ -116,8 +114,11 @@
    1.28  
    1.29  /* Enable various video drivers */
    1.30  #define SDL_VIDEO_DRIVER_DUMMY	1
    1.31 -#define SDL_VIDEO_DRIVER_GLSDL	1
    1.32 +#if TARGET_API_MAC_CARBON
    1.33 +#define SDL_VIDEO_DRIVER_TOOLBOX	1
    1.34 +#else
    1.35  #define SDL_VIDEO_DRIVER_QUARTZ	1
    1.36 +#endif
    1.37  
    1.38  /* Enable OpenGL support */
    1.39  #define SDL_VIDEO_OPENGL	1