Changeset 2327
- Timestamp:
- Sep 27, 2008 9:35:34 AM (16 years ago)
- Location:
- pjproject/trunk/pjlib
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjlib/include/pj/compat/socket.h
r2283 r2327 54 54 * it has built-in IPv6 support. 55 55 */ 56 #if defined(_MSC_VER) 56 #if defined(_MSC_VER) && defined(PJ_HAS_IPV6) && PJ_HAS_IPV6!=0 57 57 # ifndef s_addr 58 58 # define s_addr S_un.S_addr … … 60 60 61 61 # include <ws2tcpip.h> 62 63 # if !defined(IPPROTO_IPV6) && defined(PJ_HAS_IPV6) && PJ_HAS_IPV6!=0 62 # define PJ_WS2TCPIP_H_INCLUDED 63 64 # if !defined(IPPROTO_IPV6) 64 65 /* Need to download and install IPv6Kit for this platform. 65 66 * Please see the comments above about Visual Studio 6. … … 71 72 #endif /* _MSC_VER */ 72 73 74 /* Mingw32 needs ws2tcpip.h for the IGMP constants */ 75 #if defined(__GNUC__) && defined(WIN32) && !defined(PJ_WS2TCPIP_H_INCLUDED) 76 # include <ws2tcpip.h> 77 #endif 73 78 74 79 #if defined(PJ_HAS_SYS_TYPES_H) && PJ_HAS_SYS_TYPES_H != 0 -
pjproject/trunk/pjlib/src/pj/sock_bsd.c
r2283 r2327 116 116 const pj_uint16_t PJ_SO_RCVBUF = SO_RCVBUF; 117 117 const pj_uint16_t PJ_SO_SNDBUF = SO_SNDBUF; 118 const pj_uint16_t pj_IP_MULTICAST_IF = IP_MULTICAST_IF;119 const pj_uint16_t pj_IP_MULTICAST_TTL = IP_MULTICAST_TTL;120 const pj_uint16_t pj_IP_MULTICAST_LOOP = IP_MULTICAST_LOOP;121 const pj_uint16_t pj_IP_ADD_MEMBERSHIP = IP_ADD_MEMBERSHIP;122 const pj_uint16_t pj_IP_DROP_MEMBERSHIP = IP_DROP_MEMBERSHIP;118 const pj_uint16_t PJ_IP_MULTICAST_IF = IP_MULTICAST_IF; 119 const pj_uint16_t PJ_IP_MULTICAST_TTL = IP_MULTICAST_TTL; 120 const pj_uint16_t PJ_IP_MULTICAST_LOOP = IP_MULTICAST_LOOP; 121 const pj_uint16_t PJ_IP_ADD_MEMBERSHIP = IP_ADD_MEMBERSHIP; 122 const pj_uint16_t PJ_IP_DROP_MEMBERSHIP = IP_DROP_MEMBERSHIP; 123 123 124 124 -
pjproject/trunk/pjlib/src/pj/sock_symbian.cpp
r2283 r2327 67 67 68 68 /* IP multicast is also not supported. */ 69 const pj_uint16_t pj_IP_MULTICAST_IF = 0xFFFF;70 const pj_uint16_t pj_IP_MULTICAST_TTL = 0xFFFF;71 const pj_uint16_t pj_IP_MULTICAST_LOOP = 0xFFFF;72 const pj_uint16_t pj_IP_ADD_MEMBERSHIP = 0xFFFF;73 const pj_uint16_t pj_IP_DROP_MEMBERSHIP = 0xFFFF;69 const pj_uint16_t PJ_IP_MULTICAST_IF = 0xFFFF; 70 const pj_uint16_t PJ_IP_MULTICAST_TTL = 0xFFFF; 71 const pj_uint16_t PJ_IP_MULTICAST_LOOP = 0xFFFF; 72 const pj_uint16_t PJ_IP_ADD_MEMBERSHIP = 0xFFFF; 73 const pj_uint16_t PJ_IP_DROP_MEMBERSHIP = 0xFFFF; 74 74 75 75 /* Flags */
Note: See TracChangeset
for help on using the changeset viewer.