]> git.mxchange.org Git - flightgear.git/blobdiff - src/Main/bootstrap.cxx
- implement progress information (enabled by default; can be turned off via
[flightgear.git] / src / Main / bootstrap.cxx
index 452e026f91d1240339bc491ae14b7b925c099bf0..efedf8657289e4d8794409139c8b788b79718318 100644 (file)
@@ -117,6 +117,7 @@ int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance,
 #if defined( sgi )
 #include <sys/fpu.h>
 #include <sys/sysmp.h>
+#include <unistd.h>
 
 /*
  *  set the special "flush zero" bit (FS, bit 24) in the Control Status
@@ -211,7 +212,6 @@ void fgExitCleanup() {
     if (_bootstrap_OSInit != 0)
         fgSetMouseCursor(MOUSE_CURSOR_POINTER);
 
-    if (globals)
-        delete globals;
+    delete globals;
 }