comparison include/SDL_config_macosx.h @ 3400:4ec48602f1db

iPhone interruption patch / SDL 1.3 Eric Wing to Sam I've been sitting on this too long. I need to push. It's untested because of the unrelated crashing bug I've been experiencing. Also have a fix for SIZEOF_VOIDP in the config for both iPhone and Mac.
author Sam Lantinga <slouken@libsdl.org>
date Sat, 17 Oct 2009 07:36:45 +0000
parents e9342b136401
children 3427271a2d75
comparison
equal deleted inserted replaced
3399:f96615051c8c 3400:4ec48602f1db
28 /* This gets us MAC_OS_X_VERSION_MIN_REQUIRED... */ 28 /* This gets us MAC_OS_X_VERSION_MIN_REQUIRED... */
29 #include <AvailabilityMacros.h> 29 #include <AvailabilityMacros.h>
30 30
31 /* This is a set of defines to configure the SDL features */ 31 /* This is a set of defines to configure the SDL features */
32 32
33 #define SIZEOF_VOIDP 4 33 #ifdef __LP64__
34 #define SIZEOF_VOIDP 8
35 #else
36 #define SIZEOF_VOIDP 4
37 #endif
38
34 #define SDL_HAS_64BIT_TYPE 1 39 #define SDL_HAS_64BIT_TYPE 1
35 40
36 /* Useful headers */ 41 /* Useful headers */
37 /* If we specified an SDK or have a post-PowerPC chip, then alloca.h exists. */ 42 /* If we specified an SDK or have a post-PowerPC chip, then alloca.h exists. */
38 #if ( (MAC_OS_X_VERSION_MIN_REQUIRED >= 1030) || (!defined(__POWERPC__)) ) 43 #if ( (MAC_OS_X_VERSION_MIN_REQUIRED >= 1030) || (!defined(__POWERPC__)) )