Index: src/utils/win/SkDWriteGeometrySink.cpp |
diff --git a/src/utils/win/SkDWriteGeometrySink.cpp b/src/utils/win/SkDWriteGeometrySink.cpp |
index 066d4a4674c98f40d4058b93adaa2507bd1ed9c0..9f6a97caf14b5b6c863c4638df0ca73341191764 100644 |
--- a/src/utils/win/SkDWriteGeometrySink.cpp |
+++ b/src/utils/win/SkDWriteGeometrySink.cpp |
@@ -6,6 +6,7 @@ |
*/ |
#include "SkTypes.h" |
+#if defined(SK_BUILD_FOR_WIN32) |
#include "SkDWriteGeometrySink.h" |
#include "SkFloatUtils.h" |
@@ -144,3 +145,5 @@ HRESULT SkDWriteGeometrySink::Create(SkPath* path, IDWriteGeometrySink** geometr |
*geometryToPath = new SkDWriteGeometrySink(path); |
return S_OK; |
} |
+ |
+#endif//defined(SK_BUILD_FOR_WIN32) |