diff options
author | Johannes Schickel | 2011-06-01 17:31:33 +0200 |
---|---|---|
committer | Johannes Schickel | 2011-06-01 17:31:33 +0200 |
commit | 007a33515f532bea20f13ed07c1c5340c58046ba (patch) | |
tree | 47b11a41470bc9f39954b622b9727e5504e73293 /common/scummsys.h | |
parent | 2f8e9b954ef94fbdf48ec5c2a1a0801d651da7e6 (diff) | |
download | scummvm-rg350-007a33515f532bea20f13ed07c1c5340c58046ba.tar.gz scummvm-rg350-007a33515f532bea20f13ed07c1c5340c58046ba.tar.bz2 scummvm-rg350-007a33515f532bea20f13ed07c1c5340c58046ba.zip |
COMMON: Add note about us defining vsnprintf as _vsnprintf for older MSVC versions.
Diffstat (limited to 'common/scummsys.h')
-rw-r--r-- | common/scummsys.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/common/scummsys.h b/common/scummsys.h index 8ed61c2c53..b6d5263791 100644 --- a/common/scummsys.h +++ b/common/scummsys.h @@ -40,7 +40,10 @@ #if defined(WIN32) #ifdef _MSC_VER - // vsnprintf is already defined in Visual Studio 2008 + // vnsprintf was introduced with Visual Studio 2008. The 2003 edition + // only included a function called _vsnprintf. We do not officially + // support MSVC 2003 anymore, but it should not hurt to still have + // this around here. #if (_MSC_VER < 1500) #define vsnprintf _vsnprintf #endif |