ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/cebix/BasiliskII/src/slirp/misc.c
(Generate patch)

Comparing BasiliskII/src/slirp/misc.c (file contents):
Revision 1.3 by gbeauche, 2005-12-04T15:23:02Z vs.
Revision 1.4 by gbeauche, 2006-01-24T23:46:19Z

# Line 821 | Line 821 | void
821   fd_nonblock(fd)
822          int fd;
823   {
824 < #ifdef FIONBIO
824 > #if defined USE_FIONBIO && defined FIONBIO
825          int opt = 1;
826          
827          ioctlsocket(fd, FIONBIO, &opt);
# Line 838 | Line 838 | void
838   fd_block(fd)
839          int fd;
840   {
841 < #ifdef FIONBIO
841 > #if defined USE_FIONBIO && defined FIONBIO
842          int opt = 0;
843          
844          ioctlsocket(fd, FIONBIO, &opt);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines