Skip to content

Commit

Permalink
Use 'has_include' instead of platform target to detect ICU support.
Browse files Browse the repository at this point in the history
  • Loading branch information
nlutsenko committed Jun 28, 2023
1 parent c54ffab commit 18b7f25
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion SocketRocket/SRWebSocket.m
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

#import "SRWebSocket.h"

#if TARGET_OS_IPHONE
#if __has_include(<unicode/utf8.h>)
#define HAS_ICU
#endif

Expand Down

0 comments on commit 18b7f25

Please sign in to comment.