]> git.mxchange.org Git - flightgear.git/blobdiff - src/GUI/gui_local.hxx
Fixes to remove dependencies on depricated plib code (that just happened to
[flightgear.git] / src / GUI / gui_local.hxx
index 98748faa587047fa1df560a9ff8e27ca1379af27..6958f71183a466a4dd3b28930e3ca5ee301595f4 100644 (file)
@@ -1,5 +1,17 @@
+#ifdef HAVE_CONFIG_H
+#  include <config.h>
+#endif
+
+#include <simgear/compiler.h>
+
 #include "trackball.h"
 
+#if defined(WIN32) || defined(__CYGWIN32__)
+#define WIN32_CURSOR_TWEAKS
+#elif (GLUT_API_VERSION >= 4 || GLUT_XLIB_IMPLEMENTATION >= 9)
+#define X_CURSOR_TWEAKS
+#endif
+
 typedef enum {
        MOUSE_POINTER,
        MOUSE_YOKE,