2 // Useful types (platform specific)
\r
5 // GCC/SDL port by Niels Wagenaar (Linux/WIN32) and Caz (BeOS)
\r
6 // Removal of unsafe macros and addition of typdefs by James L. Hammons
\r
14 typedef unsigned char BYTE;
\r
15 typedef unsigned short WORD;
\r
16 typedef unsigned long DWORD;
\r
18 typedef long long __int64; // Could probably remove this crap with some judicious pruning
\r
19 #endif // #ifdef __GCCUNIX__
\r
22 #include <windows.h>
\r
23 #endif // #ifdef __PORT__
\r
25 // This is only good on certain intel 32-bit platforms...
\r
26 // You may need to tweak to suit your specific platform.
\r
28 typedef unsigned char UINT8;
\r
29 typedef signed char INT8;
\r
30 typedef unsigned short UINT16;
\r
31 typedef signed short INT16;
\r
32 typedef unsigned long UINT32;
\r
33 typedef signed long INT32;
\r
34 typedef unsigned long long UINT64;
\r
35 typedef signed long long INT64;
\r
37 typedef UINT8 uint8;
\r
39 typedef UINT16 uint16;
\r
40 typedef INT16 int16;
\r
41 typedef UINT32 uint32;
\r
42 typedef INT32 int32;
\r
43 typedef UINT64 uint64;
\r
44 typedef INT64 int64;
\r
46 #endif // #ifndef __TYPES_H__
\r