summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--chrome_frame/chrome_tab.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome_frame/chrome_tab.cc b/chrome_frame/chrome_tab.cc
index d54d73c..b3c2099 100644
--- a/chrome_frame/chrome_tab.cc
+++ b/chrome_frame/chrome_tab.cc
@@ -893,7 +893,7 @@ extern "C" BOOL WINAPI DllMain(HINSTANCE instance,
LPVOID reserved) {
UNREFERENCED_PARAMETER(instance);
if (reason == DLL_PROCESS_ATTACH) {
-#ifndef NDEBUG
+#if _ATL_VER < 0x0C00 && !defined(NDEBUG)
// Silence traces from the ATL registrar to reduce the log noise.
ATL::CTrace::s_trace.ChangeCategory(atlTraceRegistrar, 0,
ATLTRACESTATUS_DISABLED);