Selaa lähdekoodia

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

Nikita Lutsenko 2 vuotta sitten
vanhempi
commit
18b7f25ea4
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  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