add some types

This commit is contained in:
Josh Coalson
2001-02-28 23:47:52 +00:00
parent 994b5179e3
commit 74ce843cb7

View File

@@ -29,8 +29,11 @@
#ifdef false #ifdef false
#undef false #undef false
#endif #endif
#ifdef byte #ifdef int8
#undef byte #undef int8
#endif
#ifdef uint8
#undef uint8
#endif #endif
#ifdef int16 #ifdef int16
#undef int16 #undef int16
@@ -50,6 +53,9 @@
#ifdef uint64 #ifdef uint64
#undef uint64 #undef uint64
#endif #endif
#ifdef byte
#undef byte
#endif
#ifdef real #ifdef real
#undef real #undef real
#endif #endif
@@ -58,10 +64,11 @@
#define false 0 #define false 0
typedef int bool; typedef int bool;
typedef unsigned char byte; typedef signed char int8;
typedef short int16; typedef unsigned char uint8;
typedef signed short int16;
typedef unsigned short uint16; typedef unsigned short uint16;
typedef int int32; typedef signed int int32;
typedef unsigned int uint32; typedef unsigned int uint32;
#if defined _WIN32 && !defined __CYGWIN__ #if defined _WIN32 && !defined __CYGWIN__
typedef __int64 int64; typedef __int64 int64;
@@ -70,6 +77,7 @@ typedef unsigned __int64 uint64;
typedef long long int int64; typedef long long int int64;
typedef unsigned long long uint64; typedef unsigned long long uint64;
#endif #endif
typedef uint8 byte;
typedef double real; typedef double real;
#endif #endif