Initial sauer
[SauerbratenRemote.git] / src / shared / pch.h
blobf3ad880981d85275f042722b7e6e3b4fb6c222e3
1 #ifdef __GNUC__
2 #define gamma __gamma
3 #endif
5 #include <math.h>
7 #ifdef __GNUC__
8 #undef gamma
9 #endif
11 #include <string.h>
12 #include <stdio.h>
13 #include <stdlib.h>
14 #include <ctype.h>
15 #include <stdarg.h>
16 #include <limits.h>
17 #include <assert.h>
18 #ifdef __GNUC__
19 #include <new>
20 #else
21 #include <new.h>
22 #endif
23 #include <time.h>
25 #ifdef WIN32
26 #define WIN32_LEAN_AND_MEAN
27 #include "windows.h"
28 #endif
30 #ifndef STANDALONE
31 #include <SDL.h>
32 #include <SDL_image.h>
34 #define GL_GLEXT_LEGACY
35 #define __glext_h__
36 #define NO_SDL_GLEXT
37 #include <SDL_opengl.h>
38 #undef __glext_h__
39 #include "GL/glext.h"
40 #endif
42 #include <enet/enet.h>
44 #ifdef WIN32
45 #define _WINDOWS
46 #ifndef __GNUC__
47 #define ZLIB_DLL
48 #include <eh.h>
49 #include <dbghelp.h>
50 #endif
51 #endif
52 #include <zlib.h>
54 #include "sbtrace.h"
56 #ifdef __sun__
57 #undef sun
58 #undef MAXNAMELEN
59 #endif