summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/common/cbasetypes.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/common/cbasetypes.h b/src/common/cbasetypes.h
index 56bbb3235..bfced3441 100644
--- a/src/common/cbasetypes.h
+++ b/src/common/cbasetypes.h
@@ -185,6 +185,9 @@ typedef unsigned long long uint64;
#define strncasecmp strnicmp
#define strncmpi strnicmp
#define snprintf _snprintf
+#if defined(_MSC_VER) && _MSC_VER < 1400
+#define vsnprintf _vsnprintf
+#endif
#else
#define strcmpi strcasecmp
#define stricmp strcasecmp