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