#include <Main/viewmgr.hxx>
#include <GUI/new_gui.hxx>
-#if defined( WIN32 ) && !defined( __CYGWIN__ ) && !defined(__MINGW32__)
+#ifdef _WIN32
+# include <shellapi.h>
+# if !defined(__MINGW32__)
# include <simgear/screen/win32-printer.h>
# include <simgear/screen/GlBitmaps.h>
-#endif
-#ifdef __MINGW32__
-#include <shellapi.h>
+# endif
#endif
#include "gui.h"
{"dumpHiResSnapShot", fgHiResDumpWrapper},
#endif
{"dumpSnapShot", fgDumpSnapShotWrapper},
-#if defined( WIN32 ) && !defined( __CYGWIN__) && !defined(__MINGW32__)
+#if defined( _WIN32 ) && !defined(__MINGW32__)
{"printScreen", printScreen},
#endif
// Help
SGPath path( globals->get_fg_root() );
path.append( "Docs/index.html" );
-#if !defined(WIN32)
+#ifndef _WIN32
command = globals->get_browser();
string::size_type pos;
command += " &";
system( command.c_str() );
-#else // WIN32
+#else // _WIN32
// Look for favorite browser
char Dummy[1024], ExecName[1024], browserParameter[1024];
#endif // #if defined( TR_HIRES_SNAP)
-#if defined( WIN32 ) && !defined( __CYGWIN__) && !defined(__MINGW32__)
+#if defined( _WIN32 ) && !defined(__MINGW32__)
void rotateView( double roll, double pitch, double yaw )
{
}
#endif
-#if defined( WIN32 ) && !defined( __CYGWIN__) && !defined(__MINGW32__)
+#if defined( _WIN32 ) && !defined(__MINGW32__)
// win32 print screen function
void printScreen () {
int mouse = fgGetMouseCursor();
fgSetMouseCursor(mouse);
}
-#endif // #ifdef WIN32
+#endif // #ifdef _WIN32
void fgDumpSnapShotWrapper () {