Skip to content

Commit

Permalink
From Anders F Bjorklund:
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
slouken committed Apr 12, 2006
1 parent cd4aabc commit 6f2afc3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions include/SDL_config_macos.h
Expand Up @@ -31,9 +31,9 @@ typedef signed char int8_t;
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
Expand Down

0 comments on commit 6f2afc3

Please sign in to comment.