From 129b7e7ab7403c95e903d0ac679c8a48ca671407 Mon Sep 17 00:00:00 2001 From: "Eric J. Korpela" Date: Tue, 11 Jul 2006 16:39:34 +0000 Subject: [PATCH] Fix for non-VC++ compilers. svn path=/trunk/boinc/; revision=10619 --- lib/diagnostics.C | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/diagnostics.C b/lib/diagnostics.C index c2bce7e241..086819b439 100644 --- a/lib/diagnostics.C +++ b/lib/diagnostics.C @@ -57,7 +57,7 @@ #define MAX_STDOUT_FILE_SIZE 2048*1024 -#ifdef _WIN32 +#if defined(_WIN32) && defined(_MSC_VER) static _CrtMemState start_snapshot; static _CrtMemState finish_snapshot;