diff options
author | Jamieson Christian | 2003-07-31 06:47:05 +0000 |
---|---|---|
committer | Jamieson Christian | 2003-07-31 06:47:05 +0000 |
commit | c5de74558008f1b33c6f3a73f306d5d0950aa10d (patch) | |
tree | a381a1f0c03d6f7a919b7e29aa8796b686d5c975 /scumm | |
parent | e52e1fbfd0727aa0fb942c4df07428d70044579f (diff) | |
download | scummvm-rg350-c5de74558008f1b33c6f3a73f306d5d0950aa10d.tar.gz scummvm-rg350-c5de74558008f1b33c6f3a73f306d5d0950aa10d.tar.bz2 scummvm-rg350-c5de74558008f1b33c6f3a73f306d5d0950aa10d.zip |
Disabled unknown pragma warning in MSVC-6.
svn-id: r9320
Diffstat (limited to 'scumm')
-rw-r--r-- | scumm/dialogs.cpp | 5 | ||||
-rw-r--r-- | scumm/gfx.cpp | 4 | ||||
-rw-r--r-- | scumm/scummvm.cpp | 5 |
3 files changed, 14 insertions, 0 deletions
diff --git a/scumm/dialogs.cpp b/scumm/dialogs.cpp index ba2b72d258..ad460f8051 100644 --- a/scumm/dialogs.cpp +++ b/scumm/dialogs.cpp @@ -36,6 +36,11 @@ #include "gui/ListWidget.h" #include "common/config-file.h" +#ifdef _MSC_VER +// Disable "unknown pragma" warning in MSVC 6 +#pragma warning(disable : 4068) +#endif + #ifdef _WIN32_WCE #include "gapi_keys.h" extern bool _get_key_mapping; diff --git a/scumm/gfx.cpp b/scumm/gfx.cpp index a56c365a6d..ed2c16305a 100644 --- a/scumm/gfx.cpp +++ b/scumm/gfx.cpp @@ -28,6 +28,10 @@ #include "usage_bits.h" #include "util.h" +#ifdef _MSC_VER +// Disable "unknown pragma" warning in MSVC 6 +#pragma warning(disable : 4068) +#endif enum { kScrolltime = 500, // ms scrolling is supposed to take diff --git a/scumm/scummvm.cpp b/scumm/scummvm.cpp index faef46e4fd..270300d27b 100644 --- a/scumm/scummvm.cpp +++ b/scumm/scummvm.cpp @@ -52,6 +52,11 @@ #include <sys/stat.h> #endif +#ifdef _MSC_VER +// Disable "unknown pragma" warning in MSVC 6 +#pragma warning(disable : 4068) +#endif + #ifdef _WIN32_WCE extern bool isSmartphone(void); #endif |