Disable c-ares on iOS

pull/17894/head
Alexander Polcyn 6 years ago
parent 4286279b64
commit fd185cd1ea
  1. 2
      include/grpc/impl/codegen/port_platform.h

@ -189,6 +189,8 @@
#define GPR_PLATFORM_STRING "ios"
#define GPR_CPU_IPHONE 1
#define GPR_PTHREAD_TLS 1
/* the c-ares resolver isnt safe to enable on iOS */
#define GRPC_ARES 0
#else /* TARGET_OS_IPHONE */
#define GPR_PLATFORM_STRING "osx"
#ifdef __MAC_OS_X_VERSION_MIN_REQUIRED

Loading…
Cancel
Save