From 3664278b37dca291749b3eec738417d7c7e6bf1b Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Sun, 30 Apr 2006 08:57:02 +0000 Subject: [PATCH] We want to wrap HAVE_ALLOCA_H, not HAVE_ALLOCA. :) --- include/SDL_config_macosx.h | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/include/SDL_config_macosx.h b/include/SDL_config_macosx.h index 5fc332fb1..1cfc68883 100644 --- a/include/SDL_config_macosx.h +++ b/include/SDL_config_macosx.h @@ -30,7 +30,10 @@ #define SDL_HAS_64BIT_TYPE 1 /* Useful headers */ +/* If we specified an SDK or have a post-PowerPC chip, then alloca.h exists. */ +#if ( (MAC_OS_X_VERSION_MIN_REQUIRED >= 1030) || (!defined(__POWERPC__)) ) #define HAVE_ALLOCA_H 1 +#endif #define HAVE_SYS_TYPES_H 1 #define HAVE_STDIO_H 1 #define STDC_HEADERS 1 @@ -46,12 +49,7 @@ #define HAVE_CALLOC 1 #define HAVE_REALLOC 1 #define HAVE_FREE 1 - -/* If we specified an SDK or have a post-PowerPC chip, then alloca.h exists. */ -#if ( (MAC_OS_X_VERSION_MIN_REQUIRED >= 1030) || (!defined(__POWERPC__)) ) #define HAVE_ALLOCA 1 -#endif - #define HAVE_GETENV 1 #define HAVE_PUTENV 1 #define HAVE_UNSETENV 1