-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

subj is attached
Adds missing constants, adds OS version dependence.

- -- 
O< ascii ribbon - stop html email! - www.asciiribbon.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (MingW32)

iQEcBAEBAgAGBQJSLHHeAAoJEOs4Jb6SI2CwT8oIAL2fdneur0pxzPZilIHPEOh2
FN198MaICXyifHgqW4GRa1ITuoCMQPmjAofYe8qE/mw5dl2mDTpr2YIGPblYr50h
iTi4KfFd3z3oe2QdyklyNuerWOq81qfWoww9yZh/di9DHLZAgsQ8RjQav/6SBt+4
KSdAuQOvYrq+124yei+3UjCvwjKZ0OyL3SPfDcnVojCt0KICfM2lAHeXNzP2xvjL
BZi0YcHWkXl1vBSHSfVYJffIBzH6I7UI5O85c++G+Gs9cpmFtnM6Qbfz8MAyFO33
PJyqdtW+PFXS9QY1AHdpfEL0dQrj/aR1bGamMGjWshL6vJcT4qB172uD4mViALw=
=lbPt
-----END PGP SIGNATURE-----
From 42bae7e81c08f9af3c3e36fb46085d87ddd3deb6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=D0=A0=D1=83=D1=81=D0=BB=D0=B0=D0=BD=20=D0=98=D0=B6=D0=B1?=
 =?UTF-8?q?=D1=83=D0=BB=D0=B0=D1=82=D0=BE=D0=B2?= <lrn1...@gmail.com>
Date: Sun, 8 Sep 2013 12:42:59 +0000
Subject: [PATCH 2/2] Fix and extend NS constant list

---
 mingw-w64-headers/include/nspapi.h   | 12 ++++++++++++
 mingw-w64-headers/include/winsock2.h | 11 +++++++++++
 2 files changed, 23 insertions(+)

diff --git a/mingw-w64-headers/include/nspapi.h 
b/mingw-w64-headers/include/nspapi.h
index 9a20635..be1574a 100644
--- a/mingw-w64-headers/include/nspapi.h
+++ b/mingw-w64-headers/include/nspapi.h
@@ -75,6 +75,12 @@ extern "C" {
 #define NS_DNS (12)
 #define NS_NETBT (13)
 #define NS_WINS (14)
+#if (_WIN32_WINNT >= 0x0502)
+#define NS_NLA (15)
+#endif
+#if (_WIN32_WINNT >= 0x0600)
+#define NS_BTH (16)
+#endif
 
 #define NS_NBP (20)
 
@@ -82,6 +88,12 @@ extern "C" {
 #define NS_STDA (31)
 #define NS_NTDS (32)
 
+#if (_WIN32_WINNT >= 0x0600)
+#define NS_EMAIL (37)
+#define NS_PNRPNAME (38)
+#define NS_PNRPCLOUD (39)
+#endif
+
 #define NS_X500 (40)
 #define NS_NIS (41)
 
diff --git a/mingw-w64-headers/include/winsock2.h 
b/mingw-w64-headers/include/winsock2.h
index 68783cb..ce295bb 100644
--- a/mingw-w64-headers/include/winsock2.h
+++ b/mingw-w64-headers/include/winsock2.h
@@ -607,7 +607,12 @@ typedef unsigned int GROUP;
 #define NS_DNS (12)
 #define NS_NETBT (13)
 #define NS_WINS (14)
+#if (_WIN32_WINNT >= 0x0502)
 #define NS_NLA (15)
+#endif
+#if (_WIN32_WINNT >= 0x0600)
+#define NS_BTH (16)
+#endif
 
 #define NS_NBP (20)
 
@@ -615,6 +620,12 @@ typedef unsigned int GROUP;
 #define NS_STDA (31)
 #define NS_NTDS (32)
 
+#if (_WIN32_WINNT >= 0x0600)
+#define NS_EMAIL (37)
+#define NS_PNRPNAME (38)
+#define NS_PNRPCLOUD (39)
+#endif
+
 #define NS_X500 (40)
 #define NS_NIS (41)
 #define NS_NISPLUS (42)
-- 
1.8.4

------------------------------------------------------------------------------
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58041391&iu=/4140/ostg.clktrk
_______________________________________________
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to