(svn r15296) -Cleanup: remove redundant _MSC_VER >= 1400 checks, older versions aren't supported anymore. One check in stdafx.h is enough

This commit is contained in:
smatz
2009-01-30 17:54:48 +00:00
parent 1c7cb8368c
commit df79660531
5 changed files with 10 additions and 26 deletions

View File

@@ -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