From Anders F Bjorklund:
authorSam Lantinga <slouken@libsdl.org>
Wed, 12 Apr 2006 14:38:47 +0000
changeset 1620 2fe5319df0e1
parent 1619 e79e4c5e531b
child 1621 f12379c41042
From Anders F Bjorklund: The current definition of int32_t, uint32_t, uintptr_t doesn't match what the Mac system headers already have... Since it's an old 16/32 bit platform, the system headers expect the types to use "long" and not "int" like they do.
include/SDL_config_macos.h
--- a/include/SDL_config_macos.h	Wed Apr 12 14:37:05 2006 +0000
+++ b/include/SDL_config_macos.h	Wed Apr 12 14:38:47 2006 +0000
@@ -31,9 +31,9 @@
 typedef unsigned char	uint8_t;
 typedef signed short	int16_t;
 typedef unsigned short	uint16_t;
-typedef signed int	int32_t;
-typedef unsigned int	uint32_t;
-typedef unsigned int	uintptr_t;
+typedef signed long	int32_t;
+typedef unsigned long	uint32_t;
+typedef unsigned long	uintptr_t;
 
 /* Useful headers */
 #define HAVE_STDIO_H	1