changeset 1620:2fe5319df0e1

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.
author Sam Lantinga <slouken@libsdl.org>
date Wed, 12 Apr 2006 14:38:47 +0000
parents e79e4c5e531b
children f12379c41042
files include/SDL_config_macos.h
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- 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