summaryrefslogtreecommitdiff
path: root/config.hw.in
diff options
context:
space:
mode:
Diffstat (limited to 'config.hw.in')
-rw-r--r--config.hw.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/config.hw.in b/config.hw.in
index 31c80ec..13c2835 100644
--- a/config.hw.in
+++ b/config.hw.in
@@ -57,7 +57,11 @@
/* Win32 uses a underscore, so we use a macro to eliminate that. */
#define snprintf _snprintf
+/* VS2008 has this already defined */
+#if (_MSC_VER < 1500)
#define vsnprintf _vsnprintf
+#endif
+
#if defined(_MSC_VER) && _MSC_VER >= 1400
#define strcasecmp _strcmpi
#define strncasecmp _strnicmp