Files
assaultcube-/source/src/platform.h
T
Lee Salzman 7577a3d544 better jpeg error handling
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@4722 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2009-11-08 01:51:44 +00:00

69 lines
1.2 KiB
C

#ifdef __GNUC__
#ifdef _FORTIFY_SOURCE
#undef _FORTIFY_SOURCE
#endif
#define gamma __gamma
#endif
#include <math.h>
#ifdef __GNUC__
#undef gamma
#endif
#include <string.h>
#include <stdlib.h>
#include <stdio.h>
#include <stdarg.h>
#include <ctype.h>
#include <time.h>
#include <limits.h>
#ifdef __GNUC__
#include <new>
#include <signal.h>
#else
#include <new.h>
#endif
#include <zlib.h>
#include <libintl.h>
#include <enet/enet.h>
#ifdef WIN32
#define WIN32_LEAN_AND_MEAN
#include "windows.h"
#include <tlhelp32.h>
#ifndef __GNUC__
#include <Dbghelp.h>
#endif
#define ZLIB_DLL
#define _WINDOWS
#endif
#ifndef STANDALONE
#include <SDL.h>
#include <SDL_image.h>
#define GL_GLEXT_LEGACY
#define __glext_h__
#define NO_SDL_GLEXT
#include <SDL_opengl.h>
#undef __glext_h__
#include "GL/glext.h"
#ifdef __APPLE__
#include "OpenAL/al.h"
#include "OpenAL/alc.h"
#include "Vorbis/vorbisfile.h"
#else
#include "AL/al.h"
#include "AL/alc.h"
#include "vorbis/vorbisfile.h"
#endif
#include <jpeglib.h>
#include <setjmp.h>
#endif