From 3eba3cd1ee8ddb270c759aff78cf77e618787b12 Mon Sep 17 00:00:00 2001 From: joe Date: Wed, 30 Jan 2008 21:19:34 +0000 Subject: * 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 --- config.hw.in | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'config.hw.in') 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 -- cgit v1.2.1