Index: include/ports/SkTypeface_win.h |
diff --git a/include/ports/SkTypeface_win.h b/include/ports/SkTypeface_win.h |
index 07752d82f9b6fc5338a96fa391259cf6217987af..b7373986c9396c88ca33a359c6e57588a2f5bbe1 100644 |
--- a/include/ports/SkTypeface_win.h |
+++ b/include/ports/SkTypeface_win.h |
@@ -10,6 +10,8 @@ |
#include "SkTypeface.h" |
+#ifdef SK_BUILD_FOR_WIN |
+ |
/** |
* Like the other Typeface create methods, this returns a new reference to the |
* corresponding typeface for the specified logfont. The caller is responsible |
@@ -58,4 +60,5 @@ SK_API SkFontMgr* SkFontMgr_New_DirectWriteRenderer(SkRemotableFontMgr*); |
*/ |
SK_API SkRemotableFontMgr* SkRemotableFontMgr_New_DirectWrite(); |
-#endif |
+#endif // SK_BUILD_FOR_WIN |
+#endif // SkTypeface_win_DEFINED |