aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--common/scummsys.h5
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