summaryrefslogtreecommitdiff
path: root/src/stdafx.h
diff options
context:
space:
mode:
authorsmatz <smatz@openttd.org>2009-01-30 17:54:48 +0000
committersmatz <smatz@openttd.org>2009-01-30 17:54:48 +0000
commit1dcbba1c2d6845646d5abbf60e58d0080b461965 (patch)
tree1e4742d382679303b0a826121f73634dee538903 /src/stdafx.h
parent6d22822faf477743ae7931fe95de51cc51b57c66 (diff)
downloadopenttd-1dcbba1c2d6845646d5abbf60e58d0080b461965.tar.xz
(svn r15296) -Cleanup: remove redundant _MSC_VER >= 1400 checks, older versions aren't supported anymore. One check in stdafx.h is enough
Diffstat (limited to 'src/stdafx.h')
-rw-r--r--src/stdafx.h4
1 files changed, 2 insertions, 2 deletions
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