X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Ftypes.h;fp=src%2Ftypes.h;h=cb107ebfab2e30935965ac0015200f8a9258aa3b;hb=20195737e60552ca35c3212db45ece6c4db6bb1d;hp=7f589aa434847d901d05acb8407f463a97ce1cfa;hpb=6d13a5166688e470590692eb91c3915ab332fe36;p=ttedit diff --git a/src/types.h b/src/types.h index 7f589aa..cb107eb 100755 --- a/src/types.h +++ b/src/types.h @@ -5,21 +5,18 @@ #ifndef __TYPES_H__ #define __TYPES_H__ -// This is only good on certain intel 32-bit platforms... -// You may need to tweak to suit your specific platform. +// This should be portable, since it's part of the C99 standard...! -typedef unsigned char uint8; -typedef signed char int8; -typedef unsigned short uint16; -typedef signed short int16; -typedef unsigned uint32; -typedef signed int32; -//typedef unsigned long long uint64; -//typedef signed long long int64; +#include -//typedef signed char SBYTE; -//typedef signed short int SWORD; -//typedef signed long int SDWORD; +typedef uint8_t uint8; +typedef int8_t int8; +typedef uint16_t uint16; +typedef int16_t int16; +typedef uint32_t uint32; +typedef int32_t int32; +typedef uint64_t uint64; +typedef int64_t int64; /*#ifndef _WINDOWS_ #define NULL 0