Index: include/utils/win/SkAutoCoInitialize.h |
diff --git a/include/utils/win/SkAutoCoInitialize.h b/include/utils/win/SkAutoCoInitialize.h |
index 1123002b61627bce864593055b2b78b5128900ef..35fcce5b1335779789df038898b44ccb43b60505 100644 |
--- a/include/utils/win/SkAutoCoInitialize.h |
+++ b/include/utils/win/SkAutoCoInitialize.h |
@@ -10,6 +10,8 @@ |
#include "SkTypes.h" |
+#ifdef SK_BUILD_FOR_WIN |
+ |
/** |
* An instance of this class initializes COM on creation |
* and closes the COM library on destruction. |
@@ -23,4 +25,5 @@ public: |
bool succeeded(); |
}; |
-#endif |
+#endif // SK_BUILD_FOR_WIN |
+#endif // SkAutoCo_DEFINED |