Authored by Olivier Poitrey

Fix OS_OBJECT_USE_OBJC handling (fix #329)

@@ -29,27 +29,11 @@ @@ -29,27 +29,11 @@
29 #import <UIKit/UIKit.h> 29 #import <UIKit/UIKit.h>
30 #endif 30 #endif
31 31
32 -// @see https://github.com/ccgus/fmdb/commit/aef763eeb64e6fa654e7d121f1df4c16a98d9f4f  
33 -#define SDDispatchQueueRelease(q) (dispatch_release(q))  
34 -#if TARGET_OS_IPHONE  
35 - #if __IPHONE_OS_VERSION_MIN_REQUIRED >= 60000  
36 - #undef SDDispatchQueueRelease  
37 - #define SDDispatchQueueRelease(q)  
38 - #undef SDDispatchQueueSetterSementics  
39 - #define SDDispatchQueueSetterSementics strong  
40 - #endif  
41 -#else  
42 - #if MAC_OS_X_VERSION_MIN_REQUIRED >= 1080  
43 - #undef SDDispatchQueueRelease  
44 - #define SDDispatchQueueRelease(q)  
45 - #undef SDDispatchQueueSetterSementics  
46 - #define SDDispatchQueueSetterSementics strong  
47 - #endif  
48 -#endif  
49 -  
50 #if OS_OBJECT_USE_OBJC 32 #if OS_OBJECT_USE_OBJC
  33 + #define SDDispatchQueueRelease(q)
51 #define SDDispatchQueueSetterSementics strong 34 #define SDDispatchQueueSetterSementics strong
52 #else 35 #else
  36 + #define SDDispatchQueueRelease(q) (dispatch_release(q))
53 #define SDDispatchQueueSetterSementics assign 37 #define SDDispatchQueueSetterSementics assign
54 #endif 38 #endif
55 39