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