From 6dcbc1bb962801907cf2896c450647268d9f9a2d Mon Sep 17 00:00:00 2001 From: Alexander Polcyn Date: Thu, 7 Sep 2017 00:17:08 -0700 Subject: avoid __int64 for mingw portability --- third_party/cares/ares_build.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'third_party') 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 -- cgit v1.2.3