According to
http://msdn.microsoft.com/en-us/library/windows/desktop/ms738520(v=vs.85).aspx
we need some missing defines.

Regards,
Alexey.
From 3bb52c1d4e691265a95e228fa4091e51d8229795 Mon Sep 17 00:00:00 2001
From: Alexpux <[email protected]>
Date: Wed, 19 Nov 2014 10:43:48 +0300
Subject: [PATCH] Add missing defines to ws2tcpip.h

---
 mingw-w64-headers/include/ws2tcpip.h | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/mingw-w64-headers/include/ws2tcpip.h 
b/mingw-w64-headers/include/ws2tcpip.h
index 5d6afb9..65a8d70 100644
--- a/mingw-w64-headers/include/ws2tcpip.h
+++ b/mingw-w64-headers/include/ws2tcpip.h
@@ -213,11 +213,18 @@ typedef ADDRINFOA ADDRINFO,*LPADDRINFO;
 #define AI_CANONNAME 0x2
 #define AI_NUMERICHOST 0x4
 #if (_WIN32_WINNT >= 0x0600)
+#define AI_NUMERICSERV            0x0008
+#define ALL                       0x0100
 #define AI_ADDRCONFIG             0x0400
+#define AI_V4MAPPED               0x0800
 #define AI_NON_AUTHORITATIVE      0x04000
 #define AI_SECURE                 0x08000
 #define AI_RETURN_PREFERRED_NAMES 0x010000
 #endif
+#if (_WIN32_WINNT >= 0x0601)
+#define AI_FQDN                   0x020000
+#define AI_FILESERVER             0x040000
+#endif
 
 #ifdef __cplusplus
 extern "C" {
-- 
2.1.3

------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to