Mercurial > sdl-ios-xcode
diff include/SDL_config_macosx.h @ 1741:d67622addf51
fatbuild fixes:
- A change to define CXX in fatbuild, which comforts the configure script a little, even if we don't use C++ anywhere.
- Some code to see how many CPU cores exist and parallelize make across them.
- CFLAGS that apply to both archs are specified seperately (-O3, -pipe, etc)
- -fvisibility=hidden for the gcc4 builds
- a "clean", "clean-ppc" and "clean-x86" command
- Fix to SDL_config_macosx.h for the HAVE_ALLOCA_H thing.
Now builds on an Intel Mac.
author | Ryan C. Gordon <icculus@icculus.org> |
---|---|
date | Thu, 27 Apr 2006 11:18:03 +0000 |
parents | ebd1aedb1292 |
children | e49147870aac 18e44c267283 |
line wrap: on
line diff
--- a/include/SDL_config_macosx.h Thu Apr 27 10:44:43 2006 +0000 +++ b/include/SDL_config_macosx.h Thu Apr 27 11:18:03 2006 +0000 @@ -46,7 +46,12 @@ #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