From 9e93802f41eef7a484144c8157f6b6987163df92 Mon Sep 17 00:00:00 2001 From: Meep-Eep Date: Tue, 6 Feb 2007 14:35:49 +0000 Subject: [PATCH] No checksum logging when using MSVC 6.0, as it doesn't have __VA_ARGS__. git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2699 8092fc87-c524-0410-9efc-e669fe64eaf9 --- sc2/src/sc2code/netplay/netplay.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/sc2/src/sc2code/netplay/netplay.h b/sc2/src/sc2code/netplay/netplay.h index d8a67d430..b3e4f924a 100644 --- a/sc2/src/sc2code/netplay/netplay.h +++ b/sc2/src/sc2code/netplay/netplay.h @@ -59,6 +59,14 @@ /* Second argument to listen(). */ +#ifdef(_MSC_VER) +# if _MSC_VER < 1300 + /* NETPLAY_DEBUG_FILE requires the __VA_ARGS__ macro, which is + * not available on MSVC 6.0. */ +# undef NETPLAY_DEBUG_FILE +# endif +#endif + #ifdef NETPLAY_DEBUG_FILE # define NETPLAY_DEBUG # define DUMP_CRC_OPS