We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 1dbbaee + 12244d3 commit 7ff6bdcCopy full SHA for 7ff6bdc
src/include/mspms.h
@@ -49,6 +49,17 @@ DEFINE_GUID(
49
#endif
50
51
#include <WS2tcpip.h>
52
+#if !defined(_WS2IPDEF_) && !defined(_INC_WS2IPDEF) // latter for GCC 4.9.2
53
+
54
+typedef u_short ADDRESS_FAMILY;
55
56
+typedef union _SOCKADDR_INET {
57
+ SOCKADDR_IN Ipv4;
58
+ SOCKADDR_IN6 Ipv6;
59
+ ADDRESS_FAMILY si_family;
60
+} SOCKADDR_INET, *PSOCKADDR_INET;
61
62
+#endif
63
#include <windows.h>
64
65
@@ -73,6 +84,15 @@ DEFINE_GUID(
73
84
#ifndef _Outptr_
74
85
#define _Outptr_
75
86
87
+#ifndef _In_opt_
88
+#define _In_opt_
89
90
+#ifndef _Out_opt_
91
+#define _Out_opt_
92
93
+#ifndef _Outptr_opt_
94
+#define _Outptr_opt_
95
76
96
77
97
78
98
#define MSPMS_MAX_NAME_LENGTH 256
0 commit comments