]> git.mxchange.org Git - flightgear.git/commitdiff
More joystick code fixes
authorFrederic Bouvier <fredfgfs01@free.fr>
Fri, 14 Jan 2011 21:07:13 +0000 (22:07 +0100)
committerFrederic Bouvier <fredfgfs01@free.fr>
Fri, 14 Jan 2011 21:07:13 +0000 (22:07 +0100)
src/Input/jsWindows.cxx

index f3890826709076fe4fad244914a725ecfec98c3d..6839f850ce353a5c4f7e77995ad2addcf8b442b3 100644 (file)
@@ -21,6 +21,8 @@
      $Id: jsWindows.cxx 2114 2006-12-21 20:53:13Z fayjf $
 */
 
+#if defined (_WIN32)
+
 #include "FGjs.hxx"
 #include <windows.h>
 #include <regstr.h>
@@ -29,8 +31,6 @@
 
 #include <plib/ul.h>
 
-#if defined (_WIN32)
-
 #define _JS_MAX_AXES_WIN 8  /* X,Y,Z,R,U,V,POV_X,POV_Y */
 
 struct os_specific_s {