mirror of
https://github.com/tio/tio.git
synced 2026-05-01 14:57:59 +02:00
Fix compile error in MSYS2/Cygwin
This commit is contained in:
parent
e458b02771
commit
9784d3c277
1 changed files with 1 additions and 1 deletions
|
|
@ -2401,7 +2401,7 @@ void tty_wait_for_device(void)
|
||||||
// Happens when port unpluged
|
// Happens when port unpluged
|
||||||
if (errno == EACCES)
|
if (errno == EACCES)
|
||||||
{
|
{
|
||||||
goto error;
|
break;
|
||||||
}
|
}
|
||||||
#elif defined(__APPLE__)
|
#elif defined(__APPLE__)
|
||||||
if (errno == EBADF)
|
if (errno == EBADF)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue