From edcd98b773561862586b5efef78b3972b63269f9 Mon Sep 17 00:00:00 2001 From: Bulat Gaifullin Date: Mon, 10 Aug 2020 22:45:35 +0300 Subject: [PATCH] Use flag HAVE_WRITEV --- test/ares-test-internal.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/ares-test-internal.cc b/test/ares-test-internal.cc index e9a024492..96d4edece 100644 --- a/test/ares-test-internal.cc +++ b/test/ares-test-internal.cc @@ -578,7 +578,7 @@ const struct ares_socket_functions VirtualizeIO::default_functions = { #endif }, [](ares_socket_t s, const struct iovec * vec, int len, void *) { -#ifdef _WIN32 +#ifndef HAVE_WRITEV return ares_writev(s, vec, len); #else return :: writev(s, vec, len);