aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortma <tma@edf5b092-35ff-0310-97b2-ce42778d08ea>2007-07-14 22:31:18 +0000
committertma <tma@edf5b092-35ff-0310-97b2-ce42778d08ea>2007-07-14 22:31:18 +0000
commita82ee8ce2f0743174536b7155de9a1ef6c24d90f (patch)
treefe7e9e1db9a29c287b05d98d09afca6c9f253ed5
parentee8cb0fc2a1b02759a77d454866fe97cd5af8890 (diff)
downloadioquake3-aero-a82ee8ce2f0743174536b7155de9a1ef6c24d90f.tar.gz
ioquake3-aero-a82ee8ce2f0743174536b7155de9a1ef6c24d90f.zip
* Fix compiler warning due to missing guard
git-svn-id: svn://svn.icculus.org/quake3/trunk@1110 edf5b092-35ff-0310-97b2-ce42778d08ea
-rw-r--r--code/unix/sdl_glimp.c2
1 files changed, 2 insertions, 0 deletions
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