From b2065b43a5af9eff8e56384fe1fdf39cd3c6d050 Mon Sep 17 00:00:00 2001 From: Shyotl Date: Thu, 23 Jul 2015 01:29:26 -0500 Subject: [PATCH] Added new preprocessor flag 'NO_CWDEBUG'. Excludes cwdebug.h from linden_common.h if set, as cwdebug inclusion complicated unit testing. --- indra/llcommon/linden_common.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/indra/llcommon/linden_common.h b/indra/llcommon/linden_common.h index b6fdef4ca..b5e9de73d 100644 --- a/indra/llcommon/linden_common.h +++ b/indra/llcommon/linden_common.h @@ -38,7 +38,9 @@ // Files included here are included in every library .cpp file and // are not precompiled. +#ifndef NO_CWDEBUG #include "cwdebug.h" +#endif #if defined(LL_WINDOWS) && defined(_DEBUG) # if _MSC_VER >= 1400 // Visual C++ 2005 or later