Skip to content

Commit

Permalink
Use flag HAVE_WRITEV
Browse files Browse the repository at this point in the history
  • Loading branch information
bgaifullin committed Aug 10, 2020
1 parent 2c32de2 commit edcd98b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/ares-test-internal.cc
Expand Up @@ -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);
Expand Down

0 comments on commit edcd98b

Please sign in to comment.