diff options
author | Andrey Isaev <andrey@tocobox.com> | 2014-07-03 17:50:45 +0400 |
---|---|---|
committer | Andrey Isaev <andrey@tocobox.com> | 2014-07-03 17:50:45 +0400 |
commit | c3d53044a021f96fd50b97f5e2a3454ff37a28df (patch) | |
tree | 57d7070969890f32bf708c4fb99719422b5f6ec9 /src/objc/smtp | |
parent | a03a49cf55e0e01482f89a171bdf73a1e200a1a6 (diff) |
dispatch_queue_t property: check OS_OBJECT_HAVE_OBJC_SUPPORT
Diffstat (limited to 'src/objc/smtp')
-rw-r--r-- | src/objc/smtp/MCOSMTPSession.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/objc/smtp/MCOSMTPSession.h b/src/objc/smtp/MCOSMTPSession.h index 8e5deaa3..5c616244 100644 --- a/src/objc/smtp/MCOSMTPSession.h +++ b/src/objc/smtp/MCOSMTPSession.h @@ -80,7 +80,11 @@ It will make MCOSMTPSession safe. It will also set all the callbacks of operations to run on this given queue. Defaults to the main queue. This property should be used only if there's performance issue using MCOSMTPSession in the main thread. */ +#if OS_OBJECT_USE_OBJC @property (nonatomic, retain) dispatch_queue_t dispatchQueue; +#else +@property (nonatomic, assign) dispatch_queue_t dispatchQueue; +#endif /** @name Operations */ |