Update SDWebImageCompat.h
Undefine macros before define to prevent warning on iOS
This commit is contained in:
parent
e8c5ed17c0
commit
1b7305c8a7
|
@ -30,9 +30,13 @@
|
|||
#endif
|
||||
|
||||
#if OS_OBJECT_USE_OBJC
|
||||
#undef SDDispatchQueueRelease
|
||||
#undef SDDispatchQueueSetterSementics
|
||||
#define SDDispatchQueueRelease(q)
|
||||
#define SDDispatchQueueSetterSementics strong
|
||||
#else
|
||||
#undef SDDispatchQueueRelease
|
||||
#undef SDDispatchQueueSetterSementics
|
||||
#define SDDispatchQueueRelease(q) (dispatch_release(q))
|
||||
#define SDDispatchQueueSetterSementics assign
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue