From bdb177ea94815f8da40ef0e3506921e47c4d23ea Mon Sep 17 00:00:00 2001 From: TimeServ Date: Mon, 6 Mar 2006 21:33:29 +0000 Subject: [PATCH] exclude linuxlikes from MSVC8 git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2064 fc73d0e0-1445-4013-8a0c-d673dee63da5 --- engine/common/common.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/engine/common/common.c b/engine/common/common.c index e72af71f2..8273438a2 100644 --- a/engine/common/common.c +++ b/engine/common/common.c @@ -3067,6 +3067,8 @@ int build_number( void ) #ifdef _WIN32 +// don't use these functions in MSVC8 +#if (_MSC_VER < 1400) int VARGS linuxlike_snprintf(char *buffer, int size, const char *format, ...) { #undef _vsnprintf @@ -3102,3 +3104,5 @@ int VARGS linuxlike_vsnprintf(char *buffer, int size, const char *format, va_lis return ret; } #endif + +#endif