Merge pull request #401 from docallag/master

Prevent warnings on iOS
This commit is contained in:
Olivier Poitrey 2013-05-31 09:12:39 -07:00
commit 4ab6d18900
1 changed files with 4 additions and 0 deletions

View File

@ -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