From 1ead3c0c7beb937ad39642348173d56508bf8f27 Mon Sep 17 00:00:00 2001 From: Aidan Wolter Date: Fri, 12 Feb 2021 18:19:44 -0800 Subject: [PATCH] [Fuchsia] Disable C-ARES resolver C-ARES does not work on Fuchsia, and is causing DNS solution failures. We are disabling C-ARES so that we fall back to the native resolver. Issue: #25446 --- include/grpc/impl/codegen/port_platform.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/grpc/impl/codegen/port_platform.h b/include/grpc/impl/codegen/port_platform.h index c1bada11df5..fa4af2544c9 100644 --- a/include/grpc/impl/codegen/port_platform.h +++ b/include/grpc/impl/codegen/port_platform.h @@ -366,6 +366,7 @@ #define GPR_ARCH_32 1 #endif /* _LP64 */ #elif defined(__Fuchsia__) +#define GRPC_ARES 0 #define GPR_FUCHSIA 1 #define GPR_ARCH_64 1 #define GPR_PLATFORM_STRING "fuchsia"