]> git.mxchange.org Git - flightgear.git/blobdiff - src/GUI/new_gui.cxx
Merge branch 'next' of git://gitorious.org/fg/flightgear into next
[flightgear.git] / src / GUI / new_gui.cxx
index ce4c7237d204c8d5a18d692a33e4929e62ea941d..220d4c3fcbb35579b3e4bbc4136ddf2354008e33 100644 (file)
@@ -22,7 +22,7 @@
 
 #include <Main/fg_props.hxx>
 
-#ifndef _WIN32
+#if defined(SG_UNIX) && !defined(SG_MAC) 
 #include "GL/glx.h"
 #endif
 
@@ -32,9 +32,9 @@
 extern puFont FONT_HELVETICA_14;
 extern puFont FONT_SANS_12B;
 
+using std::map;
+using std::string;
 
-
-\f
 ////////////////////////////////////////////////////////////////////////
 // Implementation of NewGUI.
 ////////////////////////////////////////////////////////////////////////
@@ -421,7 +421,7 @@ FGFontCache::FGFontCache() :
 
 FGFontCache::~FGFontCache()
 {
-#ifndef _WIN32
+#if defined(SG_UNIX) && !defined(SG_MAC) 
    // Ugly workaround for a crash on exit with multiple screens configured
    if (!glXGetCurrentContext())
       return;