From 4eaf0d7ceebb7d653fad7a7c17634908e4d8a6a3 Mon Sep 17 00:00:00 2001 From: BB9z Date: Sun, 16 Jun 2013 18:01:02 +0800 Subject: [PATCH] Import WebP category only when the macro is activated. --- SDWebImage/UIImage+MultiFormat.m | 3 +++ 1 file changed, 3 insertions(+) diff --git a/SDWebImage/UIImage+MultiFormat.m b/SDWebImage/UIImage+MultiFormat.m index a6905c9..63ba825 100644 --- a/SDWebImage/UIImage+MultiFormat.m +++ b/SDWebImage/UIImage+MultiFormat.m @@ -8,7 +8,10 @@ #import "UIImage+MultiFormat.h" #import "UIImage+GIF.h" + +#ifdef SD_WEBP #import "UIImage+WebP.h" +#endif @implementation UIImage (MultiFormat)