Index: src/ports/SkFontMgr_win_dw.cpp |
diff --git a/src/ports/SkFontMgr_win_dw.cpp b/src/ports/SkFontMgr_win_dw.cpp |
index e40c5e4faa2b0fe5929702298e8cc49364a61d21..585d809406a765454dbc85f3850b303c8ba05561 100644 |
--- a/src/ports/SkFontMgr_win_dw.cpp |
+++ b/src/ports/SkFontMgr_win_dw.cpp |
@@ -5,6 +5,9 @@ |
* found in the LICENSE file. |
*/ |
+#include "SkTypes.h" |
+#if defined(SK_BUILD_FOR_WIN32) |
+ |
#include "SkDWrite.h" |
#include "SkDWriteFontFileStream.h" |
#include "SkFontMgr.h" |
@@ -1103,3 +1106,4 @@ SK_API SkFontMgr* SkFontMgr_New_DirectWriteRenderer(SkRemotableFontMgr* proxy) { |
} |
return new SkFontMgr_Indirect(impl.get(), proxy); |
} |
+#endif//defined(SK_BUILD_FOR_WIN32) |