aboutsummaryrefslogtreecommitdiff
path: root/lib/hostip.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/hostip.h')
-rw-r--r--lib/hostip.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/hostip.h b/lib/hostip.h
index c2191479e..dd8ec3a5e 100644
--- a/lib/hostip.h
+++ b/lib/hostip.h
@@ -87,7 +87,8 @@
#define CURL_ASYNC_SUCCESS ARES_SUCCESS
#else
#define CURL_ASYNC_SUCCESS CURLE_OK
-#define ares_cancel(x)
+#define ares_cancel(x) do {} while(0)
+#define ares_destroy(x) do {} while (0);
#endif
/*