X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=src%2Ftypes.h;fp=src%2Ftypes.h;h=0fc13b5e9f768c68af4f83ca369a01ed3f60e50d;hb=c84263bb8b0d16e4c6da49aa0b7d0bc904ae02b1;hp=cb107ebfab2e30935965ac0015200f8a9258aa3b;hpb=5c7c36b21d0f2a88accd8ff12c05dcc3004ce0e8;p=ttedit diff --git a/src/types.h b/src/types.h index cb107eb..0fc13b5 100755 --- a/src/types.h +++ b/src/types.h @@ -1,30 +1,30 @@ -// -// Basic types for platform independent code -// - -#ifndef __TYPES_H__ -#define __TYPES_H__ - -// This should be portable, since it's part of the C99 standard...! - -#include - -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 -// This is for non-compliant compilers that don't follow proper scoping rules (and suck). ;-) -#define for if(false);else for -#endif*/ -#ifndef NULL -#define NULL 0 -#endif - -#endif // __TYPES_H__ +// +// Basic types for platform independent code +// + +#ifndef __TYPES_H__ +#define __TYPES_H__ + +// This should be portable, since it's part of the C99 standard...! + +#include + +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 +// This is for non-compliant compilers that don't follow proper scoping rules (and suck). ;-) +#define for if(false);else for +#endif*/ +#ifndef NULL +#define NULL 0 +#endif + +#endif // __TYPES_H__