diff options
Diffstat (limited to 'engines/sword25/kernel/bs_stdint.h')
-rwxr-xr-x | engines/sword25/kernel/bs_stdint.h | 27 |
1 files changed, 15 insertions, 12 deletions
diff --git a/engines/sword25/kernel/bs_stdint.h b/engines/sword25/kernel/bs_stdint.h index aded9f0e04..7bdcf4c949 100755 --- a/engines/sword25/kernel/bs_stdint.h +++ b/engines/sword25/kernel/bs_stdint.h @@ -1,17 +1,20 @@ +// TODO: Properly replace all game occurances that use these types with proper ScummVM types, and remove this file + #ifndef SWORD25_STDINT_H #define SWORD25_STDINT_H -#ifdef _MSC_VER - typedef unsigned __int8 uint8_t; - typedef unsigned __int16 uint16_t; - typedef unsigned __int32 uint32_t; - typedef unsigned __int64 uint64_t; - typedef signed __int8 int8_t; - typedef signed __int16 int16_t; - typedef signed __int32 int32_t; - typedef signed __int64 int64_t; -#else - #include <stdint.h> -#endif +#include "common/scummsys.h" + +typedef uint8 uint8_t; +typedef uint16 uint16_t; +typedef uint32 uint32_t; +typedef int8 int8_t; +typedef int16 int16_t; +typedef int32 int32_t; + +typedef unsigned long long uint64_t; +typedef signed long long int64_t; +typedef unsigned long long uint64; +typedef signed long long int64; #endif |