From 56902c5a9b6b59341f71098566f2d84a4af4b572 Mon Sep 17 00:00:00 2001 From: tma Date: Fri, 2 Nov 2007 23:36:23 +0000 Subject: * (bug 3393) Blank user names still possible (Michael Jard ) * (bug 3363) Download percentage overflow (Martin Doucha ) * (bug 3390) MSVC project (Julian Priestley ) * For OS X and MinGW ports, don't -I code/SDL when USE_LOCAL_HEADERS is 0 git-svn-id: svn://svn.icculus.org/quake3/trunk@1204 edf5b092-35ff-0310-97b2-ce42778d08ea --- code/sdl/sdl_gamma.c | 7 ++++++- code/sdl/sdl_glimp.c | 12 ++++++++++-- code/sdl/sdl_input.c | 6 +++++- code/sdl/sdl_snd.c | 6 +++++- 4 files changed, 26 insertions(+), 5 deletions(-) (limited to 'code/sdl') diff --git a/code/sdl/sdl_gamma.c b/code/sdl/sdl_gamma.c index 2673700..71a42c8 100644 --- a/code/sdl/sdl_gamma.c +++ b/code/sdl/sdl_gamma.c @@ -20,7 +20,12 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA =========================================================================== */ -#include "SDL.h" +#ifdef USE_LOCAL_HEADERS +# include "SDL.h" +#else +# include +#endif + #include "../renderer/tr_local.h" #include "../qcommon/qcommon.h" diff --git a/code/sdl/sdl_glimp.c b/code/sdl/sdl_glimp.c index 5befe19..c5954ac 100644 --- a/code/sdl/sdl_glimp.c +++ b/code/sdl/sdl_glimp.c @@ -20,7 +20,11 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA =========================================================================== */ -#include "SDL.h" +#ifdef USE_LOCAL_HEADERS +# include "SDL.h" +#else +# include +#endif #if !SDL_VERSION_ATLEAST(1, 2, 10) #define SDL_GL_ACCELERATED_VISUAL 15 @@ -30,7 +34,11 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA #endif #ifdef SMP -#include "SDL_thread.h" +# ifdef USE_LOCAL_HEADERS +# include "SDL_thread.h" +# else +# include +# endif #endif #include diff --git a/code/sdl/sdl_input.c b/code/sdl/sdl_input.c index 2e610a8..0663c7f 100644 --- a/code/sdl/sdl_input.c +++ b/code/sdl/sdl_input.c @@ -20,7 +20,11 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA =========================================================================== */ -#include "SDL.h" +#ifdef USE_LOCAL_HEADERS +# include "SDL.h" +#else +# include +#endif #include #include diff --git a/code/sdl/sdl_snd.c b/code/sdl/sdl_snd.c index dfc2316..a131db7 100644 --- a/code/sdl/sdl_snd.c +++ b/code/sdl/sdl_snd.c @@ -23,7 +23,11 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA #include #include -#include "SDL.h" +#ifdef USE_LOCAL_HEADERS +# include "SDL.h" +#else +# include +#endif #include "../qcommon/q_shared.h" #include "../client/snd_local.h" -- cgit v1.2.3