Mercurial > sdl-ios-xcode
diff 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 |
line wrap: on
line diff
--- a/include/SDL_config_macosx.h Tue Oct 13 20:17:11 2009 +0000 +++ b/include/SDL_config_macosx.h Sat Oct 17 07:36:45 2009 +0000 @@ -30,7 +30,12 @@ /* This is a set of defines to configure the SDL features */ -#define SIZEOF_VOIDP 4 +#ifdef __LP64__ + #define SIZEOF_VOIDP 8 +#else + #define SIZEOF_VOIDP 4 +#endif + #define SDL_HAS_64BIT_TYPE 1 /* Useful headers */