#include <simgear/structure/exception.hxx>
#include <simgear/debug/logstream.hxx>
-#include STL_IOSTREAM
-SG_USING_STD(cerr);
-SG_USING_STD(endl);
+#include <iostream>
+using std::cerr;
+using std::endl;
#include "main.hxx"
#include "globals.hxx"
-#ifdef HAVE_WINDOWS_H
-# include <windows.h>
-# include <float.h>
-# include <pthread.h>
-#endif
-
#include "fg_os.hxx"
char *homedir = ::getenv( "HOME" );
// Ignore floating-point exceptions on FreeBSD
signal(SIGFPE, SIG_IGN);
#endif
-#ifndef _MSC_VER
+#if !defined( _MSC_VER ) && !defined( __MINGW32__ )
signal(SIGPIPE, SIG_IGN);
#endif