Index: include/utils/mac/SkCGUtils.h |
diff --git a/include/utils/mac/SkCGUtils.h b/include/utils/mac/SkCGUtils.h |
index 7ac0431b25f0066e2da17b9287868687e9b59456..3d9aff44515facfe437ef8ae2ccc015ca1788705 100644 |
--- a/include/utils/mac/SkCGUtils.h |
+++ b/include/utils/mac/SkCGUtils.h |
@@ -11,6 +11,8 @@ |
#include "SkSize.h" |
#include "SkImageInfo.h" |
+#if defined(SK_BUILD_FOR_MAC) || defined(SK_BUILD_FOR_IOS) |
+ |
#ifdef SK_BUILD_FOR_MAC |
#include <ApplicationServices/ApplicationServices.h> |
#endif |
@@ -78,4 +80,5 @@ CGDataProviderRef SkCreateDataProviderFromStream(SkStream*); |
CGDataProviderRef SkCreateDataProviderFromData(SkData*); |
-#endif |
+#endif // defined(SK_BUILD_FOR_MAC) || defined(SK_BUILD_FOR_IOS) |
+#endif // SkCGUtils_DEFINED |