FD_ZERO and FD_SET problems.

Michael Stefaniuc mstefani at redhat.de
Sun Sep 22 11:56:39 CDT 2002

Could you please resubmit it as unified diff (diff -u)? The diff's are
more readable and are more robust regarding to changes in the target


On Fri, Sep 20, 2002 at 08:10:41PM -1000, Patrick J. McNerthney wrote:
> I hope I am doing this correctly.  I am porting some Win32 software
> using WineLib and ran into some problems with the WinSock headers,
> specifically with regards to the use of FD_ZERO and FD_SET (they just
> wouldn't compile at all).  Attached is the patch that resolved my
> problems.
> ChangeLog
>   Fixed if statement in __WS_FD_SET2 which did not have it's outer set
> of parenthesis.
>   Removed parentheses around type to be cast in __WS_FD_SET macro.
>   Removed WS macro usage from within other macros because the WS macro
> is undefined when these macros are expanded.
> Pat McNerthney
> Icicle Software, Inc.

Michael Stefaniuc               Tel.: +49-711-96437-199
System Administration           Fax.: +49-711-96437-111
Red Hat GmbH                    Email: mstefani at redhat.com
Hauptstaetterstr. 58            http://www.redhat.de/
D-70178 Stuttgart
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 232 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-devel/attachments/20020922/aa96d8ac/attachment.pgp

More information about the wine-devel mailing list