summaryrefslogtreecommitdiff
path: root/sdl-inc.h
blob: 7bb613b3cbe7141941e780734bcbf57f03736842 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#ifndef SDL_INC_H_
#define SDL_INC_H_

no_warn_start
#if _WIN32
	#include <SDL.h>
#else
	#if DEBUG || __TINYC__ // speed up compile time on debug, also tcc doesn't have immintrin.h
	#define SDL_DISABLE_IMMINTRIN_H
	#endif
	#include <SDL2/SDL.h>
#endif
no_warn_end

#endif // SDL_INC_H_