avoid __int64 for mingw portability

pull/12305/head
Alexander Polcyn 7 years ago committed by Jan Tattermusch
parent 74a4d5ad58
commit 6dcbc1bb96
  1. 5
      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

Loading…
Cancel
Save