Index: include/utils/win/SkTScopedComPtr.h |
diff --git a/include/utils/win/SkTScopedComPtr.h b/include/utils/win/SkTScopedComPtr.h |
index b906fb7c1880b6aa5036fa179889282c98a6abef..d2d925c56fdc3eb4be2f316921bcd5cab5f76dc2 100644 |
--- a/include/utils/win/SkTScopedComPtr.h |
+++ b/include/utils/win/SkTScopedComPtr.h |
@@ -10,6 +10,8 @@ |
#include "SkTypes.h" |
+#ifdef SK_BUILD_FOR_WIN |
+ |
template<typename T> |
class SkBlockComRef : public T { |
private: |
@@ -71,4 +73,5 @@ public: |
} |
}; |
-#endif |
+#endif // SK_BUILD_FOR_WIN |
+#endif // SkTScopedComPtr_DEFINED |