}
#endif
-#ifdef _MSC_VER
+#if defined(_MSC_VER) || defined(_WIN32)
int main ( int argc, char **argv );
int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance,
LPSTR lpCmdLine, int nCmdShow) {
// Main entry point; catch any exceptions that have made it this far.
int main ( int argc, char **argv )
{
-#if _MSC_VER
+#if defined(_MSC_VER) || defined(_WIN32)
// Don't show blocking "no disk in drive" error messages on Windows 7,
// silently return errors to application instead.
// See Microsoft MSDN #ms680621: "GUI apps should specify SEM_NOOPENFILEERRORBOX"