Index: src/core/SkInstCnt.cpp |
diff --git a/src/core/SkInstCnt.cpp b/src/core/SkInstCnt.cpp |
index 2f9a57dc2b63eec52720e93e970f7d7c10626749..0211b123ee964c931641ed5d2c063ecbdb8f29ef 100644 |
--- a/src/core/SkInstCnt.cpp |
+++ b/src/core/SkInstCnt.cpp |
@@ -7,6 +7,6 @@ |
#include "SkInstCnt.h" |
-#if SK_ENABLE_INST_COUNT |
-bool gPrintInstCount = false; |
+#if SK_ENABLE_INST_COUNT && !defined(SKIA_DLL) // See SkInstCnt.h |
+ bool gPrintInstCount = false; |
#endif |