From 140650ef063001fd44154692b68fecb983deac21 Mon Sep 17 00:00:00 2001 From: megazig Date: Sun, 20 Sep 2009 18:28:47 -0500 Subject: added definition check for types --- types.h | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'types.h') diff --git a/types.h b/types.h index 956584b..607c30e 100755 --- a/types.h +++ b/types.h @@ -17,14 +17,30 @@ typedef signed short s16; typedef signed int s32; typedef signed long long s64; +#ifndef uint9_t typedef unsigned char uint8_t; +#endif +#ifndef uint16_t typedef unsigned short uint16_t; +#endif +#ifndef uint32_t typedef unsigned int uint32_t; +#endif +#ifndef uint64_t typedef unsigned long long uint64_t; +#endif +#ifndef int9_t typedef signed char int8_t; +#endif +#ifndef int16_t typedef signed short int16_t; +#endif +#ifndef int32_t typedef signed int int32_t; +#endif +#ifndef int64_t typedef signed long long int64_t; +#endif typedef float f32; typedef double f64; -- cgit v1.3.1