From c9171f9b636a6e25c54aa158881ac50d8026911d Mon Sep 17 00:00:00 2001 From: Tim Angus Date: Sat, 14 Jul 2007 22:31:18 +0000 Subject: [PATCH] * Fix compiler warning due to missing guard --- code/unix/sdl_glimp.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/code/unix/sdl_glimp.c b/code/unix/sdl_glimp.c index 423f1873..1136ac71 100644 --- a/code/unix/sdl_glimp.c +++ b/code/unix/sdl_glimp.c @@ -120,7 +120,9 @@ static qboolean sdlrepeatenabled = qfalse; static cvar_t *in_mouse; static cvar_t *in_disablemacosxmouseaccel; +#ifdef MACOS_X static double originalMouseSpeed = -1.0; +#endif cvar_t *in_subframe; cvar_t *in_nograb; // this is strictly for developers