summaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
authorultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-05-29 09:00:02 +0000
committerultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-05-29 09:00:02 +0000
commit9f7340804176b8edef40eeb128a223a646bcd7dc (patch)
tree9093664f9c90ca04966f0f0f2c99f090150e1b8a /src/common
parentd56f95e8ae32e01533dc0107469a87414f89d248 (diff)
downloadhercules-9f7340804176b8edef40eeb128a223a646bcd7dc.tar.gz
hercules-9f7340804176b8edef40eeb128a223a646bcd7dc.tar.bz2
hercules-9f7340804176b8edef40eeb128a223a646bcd7dc.tar.xz
hercules-9f7340804176b8edef40eeb128a223a646bcd7dc.zip
Hopefully fixed the vsnprintf incompatibility
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@10645 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/common')
-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