FD_ZERO and FD_SET problems.
Patrick J. McNerthney
pat at mcnerthney.com
Sat Sep 21 01:10:41 CDT 2002
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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch.diff
Type: application/octet-stream
Size: 1736 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20020920/9adb26c4/patch.obj
More information about the wine-patches
mailing list