From 69d1266caae5c368b64cbb2e0fd2b2137065e67d Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Sat, 13 May 2006 16:30:59 +0000 Subject: [PATCH] Hey, whaddy know! MacOS Classic has 64-bit types! --HG-- extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401789 --- include/SDL_config_macos.h | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/include/SDL_config_macos.h b/include/SDL_config_macos.h index 6b922c0b2..c4a1c5980 100644 --- a/include/SDL_config_macos.h +++ b/include/SDL_config_macos.h @@ -27,14 +27,20 @@ /* This is a set of defines to configure the SDL features */ -typedef signed char int8_t; -typedef unsigned char uint8_t; -typedef signed short int16_t; -typedef unsigned short uint16_t; -typedef signed long int32_t; -typedef unsigned long uint32_t; +#include + +typedef SInt8 int8_t; +typedef UInt8 uint8_t; +typedef SInt16 int16_t; +typedef UInt16 uint16_t; +typedef SInt32 int32_t; +typedef UInt32 uint32_t; +typedef SInt64 int64_t; +typedef UInt64 uint64_t; typedef unsigned long uintptr_t; +#define SDL_HAS_64BIT_TYPE 1 + /* Useful headers */ #define HAVE_STDIO_H 1 #define STDC_HEADERS 1