mirror of
https://github.com/irssi/irssi.git
synced 2026-08-10 04:13:32 +02:00
Remove all WIN32 ifdefs (unifdef -UWIN32)
Just use cygwin. This looks like it wasn't enough to do anything useful, and I don't think anyone cares about supporting win32 the hard way.
This commit is contained in:
parent
544d5a8bba
commit
96766b7f05
10 changed files with 0 additions and 68 deletions
|
|
@ -160,13 +160,9 @@ void net_sendbuffer_flush(NET_SENDBUF_REC *rec)
|
|||
|
||||
/* set the socket blocking while doing this */
|
||||
handle = g_io_channel_unix_get_fd(rec->handle);
|
||||
#ifndef WIN32
|
||||
fcntl(handle, F_SETFL, 0);
|
||||
#endif
|
||||
while (!buffer_send(rec)) ;
|
||||
#ifndef WIN32
|
||||
fcntl(handle, F_SETFL, O_NONBLOCK);
|
||||
#endif
|
||||
}
|
||||
|
||||
/* Returns the socket handle */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue