We want to wrap HAVE_ALLOCA_H, not HAVE_ALLOCA. :)
authorSam Lantinga <slouken@libsdl.org>
Sun, 30 Apr 2006 08:57:02 +0000
changeset 174918e44c267283
parent 1748 5e86e34453d4
child 1750 025e1a273f47
We want to wrap HAVE_ALLOCA_H, not HAVE_ALLOCA. :)
include/SDL_config_macosx.h
     1.1 --- a/include/SDL_config_macosx.h	Sat Apr 29 20:22:31 2006 +0000
     1.2 +++ b/include/SDL_config_macosx.h	Sun Apr 30 08:57:02 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