mirror of
https://github.com/momo5502/emulator.git
synced 2026-01-22 13:13:57 +00:00
GDB stub progress
This commit is contained in:
@@ -457,7 +457,7 @@ namespace
|
||||
if (recevied_data < 0)
|
||||
{
|
||||
const auto error = GET_SOCKET_ERROR();
|
||||
if (error == SOCK_WOULDBLOCK)
|
||||
if (error == SERR(EWOULDBLOCK))
|
||||
{
|
||||
this->delay_ioctrl(c, {}, true);
|
||||
return STATUS_PENDING;
|
||||
@@ -512,7 +512,7 @@ namespace
|
||||
if (sent_data < 0)
|
||||
{
|
||||
const auto error = GET_SOCKET_ERROR();
|
||||
if (error == SOCK_WOULDBLOCK)
|
||||
if (error == SERR(EWOULDBLOCK))
|
||||
{
|
||||
this->delay_ioctrl(c, {}, false);
|
||||
return STATUS_PENDING;
|
||||
|
||||
Reference in New Issue
Block a user