# HG changeset patch # User Sam Lantinga # Date 1144852727 0 # Node ID 2fe5319df0e13ee47799d04ee1a9dcc04cef396b # Parent e79e4c5e531b4943c5d03f35698484fcb1109dac 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. diff -r e79e4c5e531b -r 2fe5319df0e1 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