diff options
Diffstat (limited to 'common/scummsys.h')
-rw-r--r-- | common/scummsys.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/common/scummsys.h b/common/scummsys.h index a9c5fb3266..4fa3c80f71 100644 --- a/common/scummsys.h +++ b/common/scummsys.h @@ -44,6 +44,7 @@ #ifdef _MSC_VER #pragma once + #if (_MSC_VER < 1300) #pragma warning( disable : 4068 ) // turn off "unknown pragma" warning #pragma warning( disable : 4103 ) // turn off "alignement changed after including header" warning. We use pack-start.h file #pragma warning( disable : 4244 ) // turn off "conversion type" warning @@ -54,6 +55,7 @@ #pragma warning( disable : 4610 ) // turn off "struct can never be instantiated - user defined constructor required" #pragma warning( disable : 4701 ) // turn off "potentially uninitialized variables" warning #pragma warning( disable : 4800 ) // turn off "forcing value to bool 'true' or 'false' (performance warning)" + #endif // vsnprintf is already defined in Visual Studio 2008 #if (_MSC_VER < 1500) |