Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(13)

Unified Diff: include/ports/SkTypeface_mac.h

Issue 1488813002: CMake, include/: changes to make fiddle 2.0 better (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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

Powered by Google App Engine
This is Rietveld 408576698