From 74960a1414b064b75ed3c3a5eb283652e1b639a0 Mon Sep 17 00:00:00 2001 From: Riza Sulistyo Date: Fri, 20 May 2016 07:19:26 +0000 Subject: Re #1917(misc): Fix tpipv6.h not found when enabling IPv6 on Visual Studio. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5312 74dad513-b988-da41-8d7b-12977e46ad98 --- pjlib/include/pj/compat/socket.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pjlib/include/pj/compat/socket.h b/pjlib/include/pj/compat/socket.h index 23f46af2..754846b1 100644 --- a/pjlib/include/pj/compat/socket.h +++ b/pjlib/include/pj/compat/socket.h @@ -64,7 +64,7 @@ # define s_addr S_un.S_addr # endif -# if !defined(IPPROTO_IPV6) +# if !defined(IPPROTO_IPV6) && (_WIN32_WINNT == 0x0500) /* Need to download and install IPv6Kit for this platform. * Please see the comments above about Visual Studio 6. */ -- cgit v1.2.3