Changeset 2327 for pjproject/trunk/pjlib/include/pj/compat/socket.h
- Timestamp:
- Sep 27, 2008 9:35:34 AM (16 years ago)
- File:
-
- 1 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
Note: See TracChangeset
for help on using the changeset viewer.