source: Daodan/MSYS2/mingw32/i686-w64-mingw32/include/wsipv6ok.h@ 1171

Last change on this file since 1171 was 1166, checked in by rossy, 3 years ago

Daodan: Replace MinGW build env with an up-to-date MSYS2 env

File size: 2.8 KB
Line 
1/**
2 * This file has no copyright assigned and is placed in the Public Domain.
3 * This file is part of the mingw-w64 runtime package.
4 * No warranty is given; refer to the file DISCLAIMER.PD within this package.
5 */
6#ifndef _WSIPV6OK_
7#define _WSIPV6OK_
8
9#ifdef IPV6STRICT
10
11#include <ws2tcpip.h>
12#include <wspiapi.h>
13
14#undef AF_INET
15#define AF_INET AF_INET_IPV6INCOMPATIBLE
16#undef PF_INET
17#define PF_INET PF_INET_IPV6INCOMPATIBLE
18#undef in_addr
19#define in_addr in_addr_IPV6INCOMPATIBLE
20#undef IN_ADDR
21#define IN_ADDR IN_ADDR_IPV6INCOMPATIBLE
22#undef PIN_ADDR
23#define PIN_ADDR PIN_ADDR_IPV6INCOMPATIBLE
24#undef LPIN_ADDR
25#define LPIN_ADDR LPIN_ADDR_IPV6INCOMPATIBLE
26#undef IPAddr
27#define IPAddr IPAddr_IPV6INCOMPATIBLE
28#undef sockaddr_in
29#define sockaddr_in sockaddr_in_IPV6INCOMPATIBLE
30#undef SOCKADDR_IN
31#define SOCKADDR_IN SOCKADDR_IN_IPV6INCOMPATIBLE
32#undef PSOCKADDR_IN
33#define PSOCKADDR_IN PSOCKADDR_IN_IPV6INCOMPATIBLE
34#undef LPSOCKADDR_IN
35#define LPSOCKADDR_IN LPSOCKADDR_IN_IPV6INCOMPATIBLE
36#undef INADDR_ANY
37#define INADDR_ANY INADDR_ANY_IPV6INCOMPATIBLE
38#undef INADDR_LOOPBACK
39#define INADDR_LOOPBACK INADDR_LOOPBACK_IPV6INCOMPATIBLE
40#undef IPPROTO_IP
41#define IPPROTO_IP IPPROTO_IP_IPV6INCOMPATIBLE
42#undef IP_MULTICAST_IF
43#define IP_MULTICAST_IF IP_MULTICAST_IF_IPV6INCOMPATIBLE
44#undef IP_MULTICAST_TTL
45#define IP_MULTICAST_TTL IP_MULTICAST_TTL_IPV6INCOMPATIBLE
46#undef IP_MULTICAST_LOOP
47#define IP_MULTICAST_LOOP IP_MULTICAST_LOOP_IPV6INCOMPATIBLE
48#undef IP_ADD_MEMBERSHIP
49#define IP_ADD_MEMBERSHIP IP_ADD_MEMBERSHIP_IPV6INCOMPATIBLE
50#undef IP_DROP_MEMBERSHIP
51#define IP_DROP_MEMBERSHIP IP_DROP_MEMBERSHIP_IPV6INCOMPATIBLE
52#undef ip_mreq
53#define ip_mreq ip_mreq_IPV6INCOMPATIBLE
54#undef gethostbyname
55#define gethostbyname(a) gethostbyname_IPV6INCOMPATIBLE
56#undef hostent
57#define hostent hostent_IPV6INCOMPATIBLE
58#undef HOSTENT
59#define HOSTENT HOSTENT_IPV6INCOMPATIBLE
60#undef PHOSTENT
61#define PHOSTENT PHOSTENT_IPV6INCOMPATIBLE
62#undef LPHOSTENT
63#define LPHOSTENT LPHOSTENT_IPV6INCOMPATIBLE
64#undef inet_addr
65#define inet_addr(a) inet_addr_IPV6INCOMPATIBLE
66#undef gethostbyaddr
67#define gethostbyaddr(a,b,c) gethostbyaddr_IPV6INCOMPATIBLE
68#undef inet_ntoa
69#define inet_ntoa(a) inet_ntoa_IPV6INCOMPATIBLE
70#undef IN_MULTICAST
71#define IN_MULTICAST(a) IN_MULTICAST_IPV6INCOMPATIBLE
72#undef IN_CLASSD
73#define IN_CLASSD(a) IN_CLASSD_IPV6INCOMPATIBLE
74#undef IP_TTL
75#define IP_TTL IP_TTL_IPV6INCOMPATIBLE
76#undef IN_CLASSA
77#define IN_CLASSA(a) IN_CLASSA_IPV6INCOMPATIBLE
78#undef IN_CLASSB
79#define IN_CLASSB(a) IN_CLASSB_IPV6INCOMPATIBLE
80#undef IN_CLASSC
81#define IN_CLASSC(a) IN_CLASSC_IPV6INCOMPATIBLE
82#undef INADDR_BROADCAST
83#define INADDR_BROADCAST(a) INADDR_BROADCAST_IPV6INCOMPATIBLE
84#undef WSAAsyncGetHostByAddr
85#define WSAAsyncGetHostByAddr(a,b,c,d,e,f,g) WSAAsyncGetHostByAddr_IPV6INCOMPATIBLE
86#undef WSAAsyncGetHostByName
87#define WSAAsyncGetHostByName(a,b,c,d,e) WSAAsyncGetHostByName_IPV6INCOMPATIBLE
88#endif
89#endif
Note: See TracBrowser for help on using the repository browser.