From ae3a39fc05b054435930e9338fbce34ad5510ce7 Mon Sep 17 00:00:00 2001 From: Steven Siloti Date: Sun, 20 Nov 2016 19:50:05 -0800 Subject: [PATCH] disable test_listen_socket if we don't have ipv6 support Do we even still need to support building without ipv6? --- test/test_listen_socket.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test/test_listen_socket.cpp b/test/test_listen_socket.cpp index 93e07695f..3dd14f9a7 100644 --- a/test/test_listen_socket.cpp +++ b/test/test_listen_socket.cpp @@ -30,6 +30,8 @@ POSSIBILITY OF SUCH DAMAGE. */ +#if TORRENT_USE_IPV6 + #include "test.hpp" #include "libtorrent/aux_/session_impl.hpp" @@ -199,3 +201,5 @@ TORRENT_TEST(partition_listen_sockets) } } + +#endif