aboutsummaryrefslogtreecommitdiffhomepage
path: root/third_party
diff options
context:
space:
mode:
authorGravatar Alexander Polcyn <apolcyn@google.com>2017-09-07 00:17:08 -0700
committerGravatar Jan Tattermusch <jtattermusch@google.com>2017-09-09 16:32:48 +0200
commit6dcbc1bb962801907cf2896c450647268d9f9a2d (patch)
tree20d1c56a7f3311ec9e4114febeff33e6e961200f /third_party
parent74a4d5ad581bce512ad250e8b46e858d131c78c5 (diff)
avoid __int64 for mingw portability
Diffstat (limited to 'third_party')
-rw-r--r--third_party/cares/ares_build.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/third_party/cares/ares_build.h b/third_party/cares/ares_build.h
index a6b078d874..e5988cfeaa 100644
--- a/third_party/cares/ares_build.h
+++ b/third_party/cares/ares_build.h
@@ -192,8 +192,13 @@
#endif
/* Data type definition of ares_ssize_t. */
+/* gRPC Manuel edit here!
+ * Possibly include <_mingw.h> header to define __int64 type under mingw */
#ifdef _WIN32
# ifdef _WIN64
+# ifdef __MINGW32__
+# include <_mingw.h>
+# endif
# define CARES_TYPEOF_ARES_SSIZE_T __int64
# else
# define CARES_TYPEOF_ARES_SSIZE_T long