Skip to content

Commit

Permalink
Renamed more GCDAsyncSocket symbols
Browse files Browse the repository at this point in the history
As reported in #758 (comment), renamed more GCDAsyncSocket symbols to CouchbaseLitePrefix.h.
  • Loading branch information
pasin committed Jul 31, 2015
1 parent 28c7d98 commit 1aec9b9
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Source/CouchbaseLitePrefix.h
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,12 @@ extern "C" {
#define GCDAsyncSocketSSLProtocolVersionMax CBL_GCDAsyncSocketSSLProtocolVersionMax
#define GCDAsyncSocketSSLProtocolVersionMin CBL_GCDAsyncSocketSSLProtocolVersionMin

#define GCDAsyncSocketManuallyEvaluateTrust CBL_GCDAsyncSocketManuallyEvaluateTrust
#define GCDAsyncSocketUseCFStreamForTLS CBL_GCDAsyncSocketUseCFStreamForTLS
#define GCDAsyncSocketSSLPeerID CBL_GCDAsyncSocketSSLPeerID
#define GCDAsyncSocketSSLSessionOptionFalseStart CBL_GCDAsyncSocketSSLSessionOptionFalseStart
#define GCDAsyncSocketSSLSessionOptionSendOneByteRecord CBL_GCDAsyncSocketSSLSessionOptionSendOneByteRecord

// Rename the CocoaLumberjack classes to avoid collisions:
#define DDLog CBL_DDLog
#define DDLogMessage CBL_DDLogMessage
Expand Down

0 comments on commit 1aec9b9

Please sign in to comment.