From bb650ca8755279f7059701fe6ba2e16c624122e2 Mon Sep 17 00:00:00 2001 From: Jan Tattermusch Date: Tue, 29 Aug 2017 18:49:19 +0200 Subject: reintroduce ares_build.h modification from #10719 --- third_party/cares/ares_build.h | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'third_party') diff --git a/third_party/cares/ares_build.h b/third_party/cares/ares_build.h index 5e3ba9f0d8..a6b078d874 100644 --- a/third_party/cares/ares_build.h +++ b/third_party/cares/ares_build.h @@ -204,4 +204,15 @@ typedef CARES_TYPEOF_ARES_SSIZE_T ares_ssize_t; +/* IMPORTANT: gRPC MANUAL EDIT HERE! + * Undefine UNICODE, as c-ares does not use the ANSI version of functions + * explicitly. */ +#ifdef UNICODE +# undef UNICODE +#endif + +#ifdef _UNICODE +# undef _UNICODE +#endif + #endif /* __CARES_BUILD_H */ -- cgit v1.2.3