mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-07 01:34:38 +00:00
Another attempt to fix BeOS send
This commit is contained in:
parent
4bb477d987
commit
9d39fce2d2
@ -162,11 +162,14 @@ SOCKET_STATE send_buf(TCPsocket sock, std::vector<char>& buf) {
|
||||
if(retval > 0)
|
||||
continue;
|
||||
}
|
||||
#else
|
||||
SDL_Delay(10);
|
||||
timeout -= 10;
|
||||
#elif defined(__BEOS__)
|
||||
// sleep for 100 milliseconds
|
||||
snooze(100000);
|
||||
timeout -= 100;
|
||||
continue;
|
||||
}
|
||||
#else
|
||||
}
|
||||
#endif
|
||||
return SOCKET_ERROR;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user