Ulf Lamping wrote:
> Graham Bloice wrote:
>> When compiling with MSVC 6.0 and the platform SDK, there are failures
>> due to the redefinition of sockaddr_storage in capture_wpcap_packet.c
>> and gtk/capture_if_details_dlg.c.
>>
>> The definition is conditional on the version of MSVC used, whereas the
>> actual definition depends on the version of winsock defined, which is
>> indicated by the symbol _WINSOCK2API_.  I think that using this symbol
>> would be preferable.
>>
>>   
> Ah, thanks for pointing this out. At the time I was implementing this, I 
> got the strong feeling that there might be a better way - but I was just 
> too lazy to find out :-)
> 
> I've updated both files in SVN 21162.
> 
> Could you have a try if it works with MSVC 6 & SDK?
> 
> BTW: Is this official MSDN, or something you've got from the include files?
> 

From the include files.

I haven't been able to check your changes yet, but I imagine that they
are close to my tests so that they should be OK.  I'll check tomorrow.

-- 
Regards,

Graham Bloice
_______________________________________________
Wireshark-dev mailing list
[email protected]
http://www.wireshark.org/mailman/listinfo/wireshark-dev

Reply via email to