diff options
author | Nanang Izzuddin <nanang@teluu.com> | 2008-09-16 16:11:44 +0000 |
---|---|---|
committer | Nanang Izzuddin <nanang@teluu.com> | 2008-09-16 16:11:44 +0000 |
commit | 9c41f0a3aadb8ca284613dd552128338af16dc2e (patch) | |
tree | caafaaf6ef961ee3364b234810d88c2a036ca267 /pjlib/include/pj/compat/socket.h | |
parent | bb6a559857e1fe679c156042dd6e979701dcf6a9 (diff) |
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
Diffstat (limited to 'pjlib/include/pj/compat/socket.h')
-rw-r--r-- | pjlib/include/pj/compat/socket.h | 4 |
1 files changed, 2 insertions, 2 deletions
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 <ws2tcpip.h> -# 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. */ |