OpenMoHAA
0.82.0
Loading...
Searching...
No Matches
PS2_in_VC.h
1
//
2
// The purpose of this file is to, as much as possible, facilitate the
3
// compilation of the PS2 GNU files by the VC6 compiler. Not all problems
4
// can be solved via this file. So far, a couple of hacks are required
5
// directly within the headers themselves.
6
//
7
8
//
9
// This will nullify all of the GNU compiler's __attribute__ things.
10
//
11
#define __attribute__(a)
12
13
//
14
// This will prevent an Endian not defined error.
15
//
16
#define __IEEE_LITTLE_ENDIAN
17
18
//
19
// This will prevent a size_t redefinition error.
20
//
21
#define __size_t__
22
23
//
24
// This will prevent errors by headers which use u_long128. Obviously
25
// the type defined below is only 32 bits, but (1) this is what the real
26
// headers seem to do in the GNU compiler and more importantly (2) it works!
27
//
28
typedef
unsigned
int
u_long128;
29
30
31
#define long _int64
32
33
#define INLINE __inline
34
35
#define size_t int
36
37
#define __asm__ asm
38
39
#define __volatile__
40
41
#define asm(a) asm()
42
43
#define inline
44
45
#define volatile
code
gamespy
common
ps2
prodg
PS2_in_VC.h
Generated by
1.13.2