disable test_listen_socket if we don't have ipv6 support

Do we even still need to support building without ipv6?
This commit is contained in:
Steven Siloti 2016-11-20 19:50:05 -08:00 committed by Arvid Norberg
parent 06c53a41d1
commit ae3a39fc05
1 changed files with 4 additions and 0 deletions

View File

@ -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