Explorar el Código

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

Nikita Lutsenko hace 2 años
padre
commit
18b7f25ea4
Se han modificado 1 ficheros con 1 adiciones y 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