aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--scummsys.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/scummsys.h b/scummsys.h
index 40fba9567a..b4a07906a5 100644
--- a/scummsys.h
+++ b/scummsys.h
@@ -17,6 +17,10 @@
*
* Change Log:
* $Log$
+ * Revision 1.6 2001/11/03 06:33:29 cmatsuoka
+ * Protecting VC++-specific pragmas with ifdef _MSC_VER to allow
+ * a clean Cygwin build.
+ *
* Revision 1.5 2001/10/23 19:51:50 strigeus
* recompile not needed when switching games
* debugger skeleton implemented
@@ -39,8 +43,11 @@
#if defined(WIN32)
+/* Pragmas are VC++-specific */
+#if defined(_MSC_VER)
#pragma warning (disable: 4244)
#pragma warning (disable: 4101)
+#endif
#define scumm_stricmp stricmp