[zeromq-dev] [PATCH] Remove Windows NT 3.5 support from zeromq2-1
Steven McCoy
steven.mccoy at miru.hk
Wed Jun 15 22:13:45 CEST 2011
On 14 June 2011 03:32, Martin Sustrik <sustrik at 250bpm.com> wrote:
> On 06/14/2011 03:11 AM, Steven McCoy wrote:
>
>> As lol, I've never even seen a NT 3.5 machine. This makes Mingw-w64
>> support significantly easier.
>>
>
> +1
>
> The piece of code was added on user request, but it's very unlikely it's
> still functional.
>
> Let's drop it unless there's someone with NT3.4 box out there to test it.
>
>
NT 3.5 support will require an external definition as if *winsock2.h* or *
winsock.h* must be included before windows.h it is not possible to detect
the Windows version. This also obsoletes the _WINSOCKAPI_ hack as shown in
Microsoft examples and in* windows.hpp*:
#ifndef _WINSOCKAPI_
#define _WINSOCKAPI_ /* Prevent inclusion of winsock.h in windows.h */
#endif
#include <windows.h>
http://msdn.microsoft.com/en-us/library/dd430429
--
Steve-o
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20110615/b57eb2bf/attachment.htm>
More information about the zeromq-dev
mailing list