#ifndef __TYPES_H__\r
#define __TYPES_H__\r
\r
-// This is only good on certain intel 32-bit platforms...\r
-// You may need to tweak to suit your specific platform.\r
+// This should be portable, since it's part of the C99 standard...!\r
\r
-typedef unsigned char uint8;\r
-typedef signed char int8;\r
-typedef unsigned short uint16;\r
-typedef signed short int16;\r
-typedef unsigned uint32;\r
-typedef signed int32;\r
-//typedef unsigned long long uint64;\r
-//typedef signed long long int64;\r
+#include <stdint.h>\r
\r
-//typedef signed char SBYTE;\r
-//typedef signed short int SWORD;\r
-//typedef signed long int SDWORD;\r
+typedef uint8_t uint8;\r
+typedef int8_t int8;\r
+typedef uint16_t uint16;\r
+typedef int16_t int16;\r
+typedef uint32_t uint32;\r
+typedef int32_t int32;\r
+typedef uint64_t uint64;\r
+typedef int64_t int64;\r
\r
/*#ifndef _WINDOWS_\r
#define NULL 0\r