Heh.
authorRichard Rauch <rkr@olib.org>
Mon, 3 Nov 2003 10:56:48 +0000 (10:56 +0000)
committerRichard Rauch <rkr@olib.org>
Mon, 3 Nov 2003 10:56:48 +0000 (10:56 +0000)
Forgot to wrap the fgGetXModifiers() in a #if.  Fixed.

git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@289 7f0cb862-5218-0410-a997-914c9d46530a

src/freeglut_main.c

index 6a1b2c7..9f1f686 100644 (file)
@@ -431,6 +431,7 @@ static void fgSleepForEvents( void )
 #endif
 }
 
+#if TARGET_HOST_UNIX_X11
 /*
  * Returns GLUT modifier mask for an XEvent.
  */
@@ -447,6 +448,7 @@ int fgGetXModifiers(XEvent *event)
     
     return ret;
 }
+#endif
 
 
 /* -- INTERFACE FUNCTIONS -------------------------------------------------- */