From 9f719ca2f90f5e5413e9c27a5bf9f15bbdd30a03 Mon Sep 17 00:00:00 2001 From: Milen Halachev Date: Fri, 8 May 2015 02:56:08 +0300 Subject: [PATCH] Applied patch for issue #1074 When the code is copied within a swift module, or when a target is linked against the static library or when using from cocoapods - the debugger not longer gets broken. --- SDWebImage/SDWebImageCompat.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SDWebImage/SDWebImageCompat.h b/SDWebImage/SDWebImageCompat.h index 700007c..9773545 100644 --- a/SDWebImage/SDWebImageCompat.h +++ b/SDWebImage/SDWebImageCompat.h @@ -13,7 +13,7 @@ #error SDWebImage does not support Objective-C Garbage Collection #endif -#if __IPHONE_OS_VERSION_MIN_REQUIRED < __IPHONE_5_0 +#if __IPHONE_OS_VERSION_MIN_REQUIRED != 20000 && __IPHONE_OS_VERSION_MIN_REQUIRED < __IPHONE_5_0 #error SDWebImage doesn't support Deployement Target version < 5.0 #endif