1 /*
2  * OpenBOR - http://www.LavaLit.com
3  * -----------------------------------------------------------------------
4  * All rights reserved, see LICENSE in OpenBOR root for details.
5  *
6  * Copyright (c) 2004 - 2011 OpenBOR Team
7  */
8 
9 /////////////////////////////////////////////////////////////////////////////
10 
11 #ifndef GLOBALS_H
12 #define GLOBALS_H
13 
14 /////////////////////////////////////////////////////////////////////////////
15 
16 #include <stdio.h>
17 #include <string.h>
18 #include <assert.h>
19 #include <errno.h>
20 #include <inttypes.h>
21 #include <ctype.h>
22 
23 #include "utils.h"
24 
25 #ifdef PSP
26 #include <stdarg.h>
27 #include <psppower.h>
28 #include "pspport.h"
29 #include "graphics.h"
30 #endif
31 
32 #ifdef SDL
33 #include "sdlport.h"
34 #endif
35 
36 #ifdef GP2X
37 #include "gp2xport.h"
38 #endif
39 
40 #ifdef DOS
41 #include "dosport.h"
42 #endif
43 
44 #ifdef DC
45 #include "dcport.h"
46 #endif
47 
48 #ifdef XBOX
49 #include "xboxport.h"
50 #endif
51 
52 #ifdef WII
53 #include <gctypes.h>
54 #include <ogc/conf.h>
55 #include "wiiport.h"
56 #endif
57 
58 /////////////////////////////////////////////////////////////////////////////
59 
60 #define printf writeToLogFile
61 
62 /////////////////////////////////////////////////////////////////////////////
63 
64 extern int int_assert[sizeof(int)==4?1:-1];
65 
66 #endif
67