Alexandre Julliard wrote:
You need the WS prefix on all definitions that can potentially conflict
with Unix.
Fixed it up and resubmitted.
Kai Blin wrote:
This version is based on the Vista PSDK and
places the definition in in6addr.h.
Is there any reason you're putting this into an extra header? The PSDK I have
around keeps this in ws2ipdef.h
My Vista PSDK breaks into the extra header. It does the same for the
IPV4 addr
On Tuesday 07 April 2009 13:32:54 Jeff Latimer wrote:
> The definition of in6_addr is not fully expanded as yet. This patch
> adds the extra definition. This version is based on the Vista PSDK and
> places the definition in in6addr.h.
Is there any reason you're putting this into an extra header?
Jeff Latimer writes:
> +#ifdef USE_WS_PREFIX
> +#define WS(x)WS_##x
> +#else
> +#define WS(x)x
> +#endif
> +
> +struct WS(in6_addr) {
> +union {
> +WS(u_char) Byte[16];
> +WS(u_short) Word[8];
> +} u;
> +} IN6_ADDR, *PIN6_ADDR, *LPIN6_ADDR;
> +
> +#define in_addr6
Rob Shearman wrote:
This looks right, but in recent PSDKs it has moved from ws2tcpip.h to
in6addr.h.
Thanks, I knew that the latest PSDK had split this out but as none of
the PSDK other changes had been worked into the tree, I was reluctant
and unsure of whether that PSDK should be used. I hav
2009/4/1 Jeff Latimer :
> Alexandre Julliard wrote:
>>
>> Jeff Latimer writes:
>>
>>
>>>
>>> diff --git a/include/ws2tcpip.h b/include/ws2tcpip.h
>>> index a38ccda..9ddb3d1 100644
>>> --- a/include/ws2tcpip.h
>>> +++ b/include/ws2tcpip.h
>>> @@ -85,26 +85,41 @@ struct WS(ip_msfilter) {
>>> str
Alexandre Julliard wrote:
Jeff Latimer writes:
diff --git a/include/ws2tcpip.h b/include/ws2tcpip.h
index a38ccda..9ddb3d1 100644
--- a/include/ws2tcpip.h
+++ b/include/ws2tcpip.h
@@ -85,26 +85,41 @@ struct WS(ip_msfilter) {
struct WS(in_addr) imsf_slist[1];
};
-typedef struct WS(in
Alexandre Julliard wrote:
Jeff Latimer writes:
diff --git a/include/ws2tcpip.h b/include/ws2tcpip.h
index a38ccda..9ddb3d1 100644
--- a/include/ws2tcpip.h
+++ b/include/ws2tcpip.h
@@ -85,26 +85,41 @@ struct WS(ip_msfilter) {
struct WS(in_addr) imsf_slist[1];
};
-typedef struct WS(in
Jeff Latimer writes:
> diff --git a/include/ws2tcpip.h b/include/ws2tcpip.h
> index a38ccda..9ddb3d1 100644
> --- a/include/ws2tcpip.h
> +++ b/include/ws2tcpip.h
> @@ -85,26 +85,41 @@ struct WS(ip_msfilter) {
> struct WS(in_addr) imsf_slist[1];
> };
>
> -typedef struct WS(in_addr6)
> -{
>