From 8c3c06c342cee23be7b16a1851bd4abf70931532 Mon Sep 17 00:00:00 2001 From: Chester Liu Date: Thu, 13 Oct 2016 21:25:47 +0800 Subject: [PATCH] Utilize __has_include to fix framework import --- SDWebImage/FLAnimatedImage/FLAnimatedImageView+WebCache.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/SDWebImage/FLAnimatedImage/FLAnimatedImageView+WebCache.h b/SDWebImage/FLAnimatedImage/FLAnimatedImageView+WebCache.h index e109b5a9..f77c0edd 100644 --- a/SDWebImage/FLAnimatedImage/FLAnimatedImageView+WebCache.h +++ b/SDWebImage/FLAnimatedImage/FLAnimatedImageView+WebCache.h @@ -10,8 +10,8 @@ #if SD_UIKIT -#if !COCOAPODS -@import FLAnimatedImage; +#if __has_include() +#import #else #import "FLAnimatedImageView.h" #endif