* Added usleep fn definition to windows

* fixed compile warning.



git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3560 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
drbob 2010-09-29 20:01:04 +00:00
parent c9229fb6e8
commit b690f933c1
2 changed files with 2 additions and 2 deletions

View File

@ -297,7 +297,7 @@ int bdnet_errno() { return errno; }
/* check if we can modify the TTL on a UDP packet */
int bdnet_checkTTL(int fd) { return 1;}
int bdnet_checkTTL(int /*fd*/) { return 1;}
int bdnet_inet_aton(const char *name, struct in_addr *addr)

View File

@ -158,7 +158,7 @@ int bdnet_w2u_errno(int error);
* void Sleep(int ms);
*/
void sleep(int sec);
//void usleep(int usec);
void usleep(int usec);
#endif // END of WINDOWS defines.
/********************************** WINDOWS/UNIX SPECIFIC PART ******************/