include/SDL_config_macosx.h
branchSDL-1.3
changeset 1657 5b0805ceb50f
parent 1638 ebd1aedb1292
child 1658 e49147870aac
child 1749 18e44c267283
     1.1 --- a/include/SDL_config_macosx.h	Thu Apr 27 09:09:48 2006 +0000
     1.2 +++ b/include/SDL_config_macosx.h	Fri Apr 28 16:55:41 2006 +0000
     1.3 @@ -46,7 +46,12 @@
     1.4  #define HAVE_CALLOC	1
     1.5  #define HAVE_REALLOC	1
     1.6  #define HAVE_FREE	1
     1.7 +
     1.8 +/* If we specified an SDK or have a post-PowerPC chip, then alloca.h exists. */
     1.9 +#if ( (MAC_OS_X_VERSION_MIN_REQUIRED >= 1030) || (!defined(__POWERPC__)) )
    1.10  #define HAVE_ALLOCA	1
    1.11 +#endif
    1.12 +
    1.13  #define HAVE_GETENV	1
    1.14  #define HAVE_PUTENV	1
    1.15  #define HAVE_UNSETENV	1