From a82ee8ce2f0743174536b7155de9a1ef6c24d90f Mon Sep 17 00:00:00 2001 From: tma Date: Sat, 14 Jul 2007 22:31:18 +0000 Subject: * Fix compiler warning due to missing guard git-svn-id: svn://svn.icculus.org/quake3/trunk@1110 edf5b092-35ff-0310-97b2-ce42778d08ea --- 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 423f187..1136ac7 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 -- cgit v1.2.3