Skip to content

Commit

Permalink
GCDAsyncSocket: build error for old deployment targets
Browse files Browse the repository at this point in the history
  • Loading branch information
dvor committed Aug 31, 2014
1 parent 2f6e2e4 commit d7296b3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions GCD/GCDAsyncSocket.h
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,11 @@ typedef enum GCDAsyncSocketError GCDAsyncSocketError;
#pragma mark Configuration

@property (atomic, weak, readwrite) id delegate;
#if OS_OBJECT_USE_OBJC
@property (atomic, strong, readwrite) dispatch_queue_t delegateQueue;
#else
@property (atomic, assign, readwrite) dispatch_queue_t delegateQueue;
#endif

- (void)getDelegate:(id *)delegatePtr delegateQueue:(dispatch_queue_t *)delegateQueuePtr;
- (void)setDelegate:(id)delegate delegateQueue:(dispatch_queue_t)delegateQueue;
Expand Down

0 comments on commit d7296b3

Please sign in to comment.