aboutsummaryrefslogtreecommitdiffhomepage
path: root/third_party
diff options
context:
space:
mode:
authorGravatar Jan Tattermusch <jtattermusch@google.com>2017-08-29 18:49:19 +0200
committerGravatar Jan Tattermusch <jtattermusch@google.com>2017-09-09 16:32:48 +0200
commitbb650ca8755279f7059701fe6ba2e16c624122e2 (patch)
treeabe6c37ea8e9ed601900011e160b435cbe2b0afd /third_party
parentf0208acffc0f20e7e557b3bb237cdd09d601e484 (diff)
reintroduce ares_build.h modification from #10719
Diffstat (limited to 'third_party')
-rw-r--r--third_party/cares/ares_build.h11
1 files changed, 11 insertions, 0 deletions
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 */