Fix a compilation bug on Windows (usleep not defined).
This fix is needed to make 1.3.11 compile under windows.
This commit is contained in:
parent
7eb578d3d8
commit
e240e1a4e7
2 changed files with 5 additions and 1 deletions
|
@ -1,3 +1,7 @@
|
|||
Version 1.3.11+svn:
|
||||
* miscellaneous and bug fixes:
|
||||
* fix a compilation bug on Windows (usleep not defined)
|
||||
|
||||
Version 1.3.11:
|
||||
* campaigns
|
||||
* Eastern Invasion
|
||||
|
|
|
@ -164,7 +164,7 @@ bool receive_with_timeout(TCPsocket s, char* buf, size_t nbytes, bool update_sta
|
|||
if(++nsleeps == timeout_ms) {
|
||||
return false;
|
||||
}
|
||||
usleep(1000);
|
||||
SDL_Delay(1000);
|
||||
} else {
|
||||
return false;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue