* include/netdb.h: Add AI_xxx flags available since Vista.
This commit is contained in:
parent
4b13fd15d4
commit
f7fee067b6
@ -1,3 +1,7 @@
|
|||||||
|
2007-01-23 Corinna Vinschen <corinna@vinschen.de>
|
||||||
|
|
||||||
|
* include/netdb.h: Add AI_xxx flags available since Vista.
|
||||||
|
|
||||||
2007-01-23 Corinna Vinschen <corinna@vinschen.de>
|
2007-01-23 Corinna Vinschen <corinna@vinschen.de>
|
||||||
|
|
||||||
* net.cc (if_nametoindex): Free IP_ADAPTER_ADDRESSES memory.
|
* net.cc (if_nametoindex): Free IP_ADAPTER_ADDRESSES memory.
|
||||||
|
@ -147,16 +147,10 @@ extern __declspec(dllimport) int h_errno;
|
|||||||
#define AI_PASSIVE 1
|
#define AI_PASSIVE 1
|
||||||
#define AI_CANONNAME 2
|
#define AI_CANONNAME 2
|
||||||
#define AI_NUMERICHOST 4
|
#define AI_NUMERICHOST 4
|
||||||
/*
|
/* Only available since Vista. Ignored on older systems. */
|
||||||
* These are not available in the WinSock implementation. It wouldn't make
|
#define AI_ALL 256
|
||||||
* sense to support them in the ipv4 only case, so we drop them entirely.
|
#define AI_ADDRCONFIG 1024
|
||||||
* We can define them if we run into problems but they are non-functional, so...
|
#define AI_V4MAPPED 2048
|
||||||
*/
|
|
||||||
#if 0
|
|
||||||
#define AI_V4MAPPED 16
|
|
||||||
#define AI_ALL 32
|
|
||||||
#define AI_ADDRCONFIG 64
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#define NI_NOFQDN 1
|
#define NI_NOFQDN 1
|
||||||
#define NI_NUMERICHOST 2
|
#define NI_NUMERICHOST 2
|
||||||
|
Loading…
x
Reference in New Issue
Block a user