Fixed incompatibility with cpp4.0/unistd.h in winealsa/audio.c

Adam Szalkowski adamsz at gmx.net
Sat Mar 19 05:55:10 CST 2005


Hi,

while compiling the latest release with gcc-4.0 I ran into the a problem with 
cpp and unistd.h.
In winmm/winealsa/audio.c in "wwi->read(...)" the read was replaced by some 
macro defined in unistd.h and the file did not compile.
I'm not sure whether this is an error in wine code or in cpp-4.0.
Try this patch if it has not yet been fixed.
Regards,

adam
-------------- next part --------------
A non-text attachment was scrubbed...
Name: wine-20050310.gcc4.patch
Type: text/x-diff
Size: 1558 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20050319/5f88e799/wine-20050310.gcc4.bin


More information about the wine-patches mailing list