Index: include/ports/SkTypeface_mac.h |
diff --git a/include/ports/SkTypeface_mac.h b/include/ports/SkTypeface_mac.h |
index 59bf77b106e4c3e9331fbf6388955840f60b6e3c..14440b53833b867b1b4a01cf625100eef5103a8e 100644 |
--- a/include/ports/SkTypeface_mac.h |
+++ b/include/ports/SkTypeface_mac.h |
@@ -10,6 +10,8 @@ |
#include "SkTypeface.h" |
+#if defined(SK_BUILD_FOR_MAC) || defined(SK_BUILD_FOR_IOS) |
+ |
#include <CoreFoundation/CoreFoundation.h> |
#ifdef SK_BUILD_FOR_MAC |
@@ -43,4 +45,5 @@ SK_API extern SkTypeface* SkCreateTypefaceFromCTFont(CTFontRef, CFTypeRef = NULL |
*/ |
SK_API extern CTFontRef SkTypeface_GetCTFontRef(const SkTypeface* face); |
-#endif |
+#endif // defined(SK_BUILD_FOR_MAC) || defined(SK_BUILD_FOR_IOS) |
+#endif // SkTypeface_mac_DEFINED |