Sfoglia il codice sorgente

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

Nikita Lutsenko 2 anni fa
parent
commit
18b7f25ea4
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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