summaryrefslogtreecommitdiff
path: root/config.hw.in
diff options
context:
space:
mode:
authorjoe <joe@61a7d7f5-40b7-0310-9c16-bb0ea8cb1845>2008-01-30 21:19:34 +0000
committerjoe <joe@61a7d7f5-40b7-0310-9c16-bb0ea8cb1845>2008-01-30 21:19:34 +0000
commit3eba3cd1ee8ddb270c759aff78cf77e618787b12 (patch)
tree5be8ce94c598e79615e9bfbd31a4088aac8d8199 /config.hw.in
parente28b059a666957eb12789752f3d2991b807531d5 (diff)
downloadneon-3eba3cd1ee8ddb270c759aff78cf77e618787b12.tar.gz
* config.hw.in: Fix build with VS2008 (Stefan Kung).
git-svn-id: http://svn.webdav.org/repos/projects/neon/trunk@1308 61a7d7f5-40b7-0310-9c16-bb0ea8cb1845
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