From 1dcbba1c2d6845646d5abbf60e58d0080b461965 Mon Sep 17 00:00:00 2001 From: smatz Date: Fri, 30 Jan 2009 17:54:48 +0000 Subject: (svn r15296) -Cleanup: remove redundant _MSC_VER >= 1400 checks, older versions aren't supported anymore. One check in stdafx.h is enough --- src/stdafx.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/stdafx.h') diff --git a/src/stdafx.h b/src/stdafx.h index 97785e0be..b134cb940 100644 --- a/src/stdafx.h +++ b/src/stdafx.h @@ -167,7 +167,7 @@ #pragma warning(disable: 4200) // nonstandard extension used : zero-sized array in struct/union #if (_MSC_VER < 1400) // MSVC 2005 safety checks - #error "Only MSVC 2005 or higher are supported. MSVC 2003 and earlier are not!. Upgrade your compiler." + #error "Only MSVC 2005 or higher are supported. MSVC 2003 and earlier are not! Upgrade your compiler." #endif /* (_MSC_VER < 1400) */ #pragma warning(disable: 4996) // 'strdup' was declared deprecated #define _CRT_SECURE_NO_DEPRECATE // all deprecated 'unsafe string functions @@ -188,7 +188,7 @@ #endif int CDECL snprintf(char *str, size_t size, const char *format, ...); - #if (_MSC_VER < 1400) || defined(WINCE) + #if defined(WINCE) int CDECL vsnprintf(char *str, size_t size, const char *format, va_list ap); #endif -- cgit v1.2.3-54-g00ecf