diff options
author | /dev/humancontroller <devhc@example.com> | 2015-06-18 14:16:53 +0200 |
---|---|---|
committer | /dev/humancontroller <devhc@example.com> | 2017-02-06 18:00:03 +0100 |
commit | 79670de4d78c6b6cd1e449aad985ac8dc4438b4e (patch) | |
tree | 2347c5bce300546c9065518bd1a83805ed094fa5 /src/sdl | |
parent | 0a18fe245ad759b6a7b1f64d2cf2a775c081421c (diff) |
use system libraries more properly; introduce a dependency on Minizip
remove the USE_LOCAL_HEADERS option (it was broken anyway)
Diffstat (limited to 'src/sdl')
-rw-r--r-- | src/sdl/sdl_gamma.c | 6 | ||||
-rw-r--r-- | src/sdl/sdl_glimp.c | 6 | ||||
-rw-r--r-- | src/sdl/sdl_input.c | 6 | ||||
-rw-r--r-- | src/sdl/sdl_snd.c | 6 |
4 files changed, 4 insertions, 20 deletions
diff --git a/src/sdl/sdl_gamma.c b/src/sdl/sdl_gamma.c index 7e030683..0998f93a 100644 --- a/src/sdl/sdl_gamma.c +++ b/src/sdl/sdl_gamma.c @@ -21,11 +21,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA =========================================================================== */ -#ifdef USE_LOCAL_HEADERS -# include "SDL.h" -#else -# include <SDL.h> -#endif +#include <SDL.h> #include "../renderercommon/tr_common.h" #include "../qcommon/qcommon.h" diff --git a/src/sdl/sdl_glimp.c b/src/sdl/sdl_glimp.c index fed3fc5b..cc3e6378 100644 --- a/src/sdl/sdl_glimp.c +++ b/src/sdl/sdl_glimp.c @@ -21,11 +21,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA =========================================================================== */ -#ifdef USE_LOCAL_HEADERS -# include "SDL.h" -#else -# include <SDL.h> -#endif +#include <SDL.h> #include <stdarg.h> #include <stdio.h> diff --git a/src/sdl/sdl_input.c b/src/sdl/sdl_input.c index 700834c2..bb6403de 100644 --- a/src/sdl/sdl_input.c +++ b/src/sdl/sdl_input.c @@ -21,11 +21,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA =========================================================================== */ -#ifdef USE_LOCAL_HEADERS -# include "SDL.h" -#else -# include <SDL.h> -#endif +#include <SDL.h> #include <stdarg.h> #include <stdio.h> diff --git a/src/sdl/sdl_snd.c b/src/sdl/sdl_snd.c index 9420f0ba..018675d1 100644 --- a/src/sdl/sdl_snd.c +++ b/src/sdl/sdl_snd.c @@ -24,11 +24,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA #include <stdlib.h> #include <stdio.h> -#ifdef USE_LOCAL_HEADERS -# include "SDL.h" -#else -# include <SDL.h> -#endif +#include <SDL.h> #include "../qcommon/q_shared.h" #include "../client/snd_local.h" |