aboutsummaryrefslogtreecommitdiff
path: root/types.h
diff options
context:
space:
mode:
authormegazig <megazig@megazig-desktop.(none)>2009-09-20 18:28:47 -0500
committermegazig <megazig@megazig-desktop.(none)>2009-09-20 18:28:47 -0500
commit140650ef063001fd44154692b68fecb983deac21 (patch)
tree650fc9fb1adae482a73d21cae60ac5b02e25daee /types.h
parent1ace43b584c941e69114bcf14ff2156c8ba1926e (diff)
added definition check for types
Diffstat (limited to '')
-rwxr-xr-xtypes.h16
1 files changed, 16 insertions, 0 deletions
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;