From 79670de4d78c6b6cd1e449aad985ac8dc4438b4e Mon Sep 17 00:00:00 2001 From: /dev/humancontroller Date: Thu, 18 Jun 2015 14:16:53 +0200 Subject: use system libraries more properly; introduce a dependency on Minizip remove the USE_LOCAL_HEADERS option (it was broken anyway) --- src/sdl/sdl_gamma.c | 6 +----- src/sdl/sdl_glimp.c | 6 +----- src/sdl/sdl_input.c | 6 +----- src/sdl/sdl_snd.c | 6 +----- 4 files changed, 4 insertions(+), 20 deletions(-) (limited to 'src/sdl') 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 -#endif +#include #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 -#endif +#include #include #include 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 -#endif +#include #include #include 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 #include -#ifdef USE_LOCAL_HEADERS -# include "SDL.h" -#else -# include -#endif +#include #include "../qcommon/q_shared.h" #include "../client/snd_local.h" -- cgit