aboutsummaryrefslogtreecommitdiffstats
path: root/python/gevent/resolver/cares_ntop.h
diff options
context:
space:
mode:
authorJames Taylor <user234683@users.noreply.github.com>2018-09-14 19:32:27 -0700
committerJames Taylor <user234683@users.noreply.github.com>2018-09-14 19:32:27 -0700
commit4212164e91ba2f49583cf44ad623a29b36db8f77 (patch)
tree47aefe3c0162f03e0c823b43873356f69c1cd636 /python/gevent/resolver/cares_ntop.h
parent6ca20ff7010f2bafc7fefcb8cad982be27a8aeae (diff)
downloadyt-local-4212164e91ba2f49583cf44ad623a29b36db8f77.tar.lz
yt-local-4212164e91ba2f49583cf44ad623a29b36db8f77.tar.xz
yt-local-4212164e91ba2f49583cf44ad623a29b36db8f77.zip
Windows: Use 32-bit distribution of python
Diffstat (limited to 'python/gevent/resolver/cares_ntop.h')
-rw-r--r--python/gevent/resolver/cares_ntop.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/python/gevent/resolver/cares_ntop.h b/python/gevent/resolver/cares_ntop.h
new file mode 100644
index 0000000..9ffc9dd
--- /dev/null
+++ b/python/gevent/resolver/cares_ntop.h
@@ -0,0 +1,7 @@
+#ifdef CARES_EMBED
+#include "ares_setup.h"
+#include "ares.h"
+#else
+#include <arpa/inet.h>
+#define ares_inet_ntop(w,x,y,z) inet_ntop(w,x,y,z)
+#endif