[Common-dev] Re: [Helix-dna-dev] Re: CR: New net API changes
Fredrik Hubinette hubbe at real.com
Are you sure that adding WIN32_LEAN_AND_MEAN to win32.cf won't break
any old builds?
If you are not sure, I have an alternate solution that might be better
using "global pcf files" instead of modifying the ribosome .cf file.
/Hubbe
Tom Marshall <tmarshall at real.com> writes:
> This checkin caused all of the Win32 builds to break. Here is a diff set
> that (hopefully) fixes the problem. It is quite large but it only does a
> few things:
>
> - Never include <windows.h> directly. Include "hlxclib/windows.h".
>
> - Never include <winsock[2].h> directly. Include "hlxclib/sys/socket.h".
>
> - Add WIN32_LEAN_AND_MEAN to global win32.pcf and remove it from all local
> .pcf files.
>
> - Fix iovec definitions.
>
> - Fix INADDR_NONE definitions (remove from netbyte.h).