Skip to content

Commit

Permalink
Include Fishhook with check
Browse files Browse the repository at this point in the history
  • Loading branch information
LukeDurrant committed Apr 11, 2018
1 parent 80fc415 commit 562a0e4
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Libraries/WebSocket/RCTReconnectingWebSocket.m
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,12 @@

#import <React/RCTConvert.h>
#import <React/RCTDefines.h>

#if __has_include(<React/fishhook.h>)
#import <React/fishhook.h>
#else
#import <fishhook/fishhook.h>
#endif

#if defined(__IPHONE_OS_VERSION_MAX_ALLOWED) && __IPHONE_OS_VERSION_MAX_ALLOWED >= 110000 /* __IPHONE_11_0 */
#import <os/log.h>
Expand Down

0 comments on commit 562a0e4

Please sign in to comment.