From 4212164e91ba2f49583cf44ad623a29b36db8f77 Mon Sep 17 00:00:00 2001 From: James Taylor Date: Fri, 14 Sep 2018 19:32:27 -0700 Subject: Windows: Use 32-bit distribution of python --- python/gevent/resolver/cares_pton.h | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 python/gevent/resolver/cares_pton.h (limited to 'python/gevent/resolver/cares_pton.h') diff --git a/python/gevent/resolver/cares_pton.h b/python/gevent/resolver/cares_pton.h new file mode 100644 index 0000000..85af403 --- /dev/null +++ b/python/gevent/resolver/cares_pton.h @@ -0,0 +1,8 @@ +#ifdef CARES_EMBED +#include "ares_setup.h" +#include "ares_inet_net_pton.h" +#else +#include +#define ares_inet_pton(x,y,z) inet_pton(x,y,z) +#define ares_inet_net_pton(w,x,y,z) inet_net_pton(w,x,y,z) +#endif -- cgit v1.2.3