From 9c41f0a3aadb8ca284613dd552128338af16dc2e Mon Sep 17 00:00:00 2001 From: Nanang Izzuddin Date: Tue, 16 Sep 2008 16:11:44 +0000 Subject: Ticket #629: Added IGMPv2 multicast socket options (thanks David Parker for the patch). git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2283 74dad513-b988-da41-8d7b-12977e46ad98 --- pjlib/include/pj/compat/socket.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'pjlib/include/pj/compat/socket.h') diff --git a/pjlib/include/pj/compat/socket.h b/pjlib/include/pj/compat/socket.h index eb0f870e..d234aca2 100644 --- a/pjlib/include/pj/compat/socket.h +++ b/pjlib/include/pj/compat/socket.h @@ -53,14 +53,14 @@ * These VS uses Microsoft Platform SDK for Windows Server 2003 SP1, and * it has built-in IPv6 support. */ -#if defined(_MSC_VER) && defined(PJ_HAS_IPV6) && PJ_HAS_IPV6!=0 +#if defined(_MSC_VER) # ifndef s_addr # define s_addr S_un.S_addr # endif # include -# ifndef IPPROTO_IPV6 +# if !defined(IPPROTO_IPV6) && defined(PJ_HAS_IPV6) && PJ_HAS_IPV6!=0 /* Need to download and install IPv6Kit for this platform. * Please see the comments above about Visual Studio 6. */ -- cgit v1.2.3