# HG changeset patch # User Sam Lantinga # Date 1146387422 0 # Node ID 18e44c267283bb4675ce01034d76055a43d3f68b # Parent 5e86e34453d4ce99af06c7212c1480673c12b98b We want to wrap HAVE_ALLOCA_H, not HAVE_ALLOCA. :) diff -r 5e86e34453d4 -r 18e44c267283 include/SDL_config_macosx.h --- a/include/SDL_config_macosx.h Sat Apr 29 20:22:31 2006 +0000 +++ b/include/SDL_config_macosx.h Sun Apr 30 08:57:02 2006 +0000 @@ -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