diff include/SDL_config_macos.h @ 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 d951a5afaf07
children e49147870aac 00ea6cf49a4e
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