Explorar o código

Use 'has_include' instead of platform target to detect ICU support.

Nikita Lutsenko %!s(int64=2) %!d(string=hai) anos
pai
achega
18b7f25ea4
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      SocketRocket/SRWebSocket.m

+ 1 - 1
SocketRocket/SRWebSocket.m

@@ -11,7 +11,7 @@
 
 #import "SRWebSocket.h"
 
-#if TARGET_OS_IPHONE
+#if __has_include(<unicode/utf8.h>)
 #define HAS_ICU
 #endif