diff include/SDL_config_iphoneos.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 5db962a9a991
children 24d13328c44a
line wrap: on
line diff
--- a/include/SDL_config_iphoneos.h	Tue Oct 13 20:17:11 2009 +0000
+++ b/include/SDL_config_iphoneos.h	Sat Oct 17 07:36:45 2009 +0000
@@ -35,6 +35,12 @@
 typedef unsigned long uintptr_t;
 #endif /* !_STDINT_H_ && !HAVE_STDINT_H */
 
+#ifdef __LP64__
+#define SIZEOF_VOIDP 8
+#else
+#define SIZEOF_VOIDP 4
+#endif
+
 #define SDL_HAS_64BIT_TYPE	1
 
 #define HAVE_ALLOCA_H		1