On 13 June 2011 13:38, Pieter Hintjens <[email protected]> wrote: > The weird thing is that with your changes, this code in windows.hpp > was doing the #else part (and that's where the build errors came > from): > > // Enable winsock (not included when WIN32_LEAN_AND_MEAN is defined). > #if(_WIN32_WINNT >= 0x0400) > #include <winsock2.h> > #include <mswsock.h> > #else > #include <winsock.h> > #endif > > In MSVC it is *windows.h *defining _WIN32_WINNT ? What a mess.
http://msdn.microsoft.com/en-us/library/aa383745(VS.85).aspx Using MSVC's definition tool I can see it all over the place: sdkddkver.h, winresrc.h, objbase.h, objidl.h I'd prefer NTDDI_VERSION I'll have a look again. -- Steve-o
_______________________________________________ zeromq-dev mailing list [email protected] http://lists.zeromq.org/mailman/listinfo/zeromq-dev
