mirror of
https://github.com/weechat/weechat.git
synced 2026-06-30 06:46:38 +02:00
fifo: ignore error ECOMM only on Cygwin (fix compilaton on FreeBSD)
This commit is contained in:
@@ -357,7 +357,11 @@ fifo_read (void *data, int fd)
|
||||
{
|
||||
if (num_read < 0)
|
||||
{
|
||||
#ifdef __CYGWIN__
|
||||
if ((errno == EAGAIN) || (errno == ECOMM))
|
||||
#else
|
||||
if (errno == EAGAIN)
|
||||
#endif /* __CYGWIN__ */
|
||||
return WEECHAT_RC_OK;
|
||||
|
||||
weechat_printf (NULL,
|
||||
|
||||
Reference in New Issue
Block a user