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:
Mark de Wever 2007-11-19 18:43:45 +00:00
parent 7eb578d3d8
commit e240e1a4e7
2 changed files with 5 additions and 1 deletions

View file

@ -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

View file

@ -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;
}