mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-01-13 16:39:43 -05:00
* 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:
parent
c9229fb6e8
commit
b690f933c1
@ -297,7 +297,7 @@ int bdnet_errno() { return errno; }
|
|||||||
|
|
||||||
|
|
||||||
/* check if we can modify the TTL on a UDP packet */
|
/* 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)
|
int bdnet_inet_aton(const char *name, struct in_addr *addr)
|
||||||
|
@ -158,7 +158,7 @@ int bdnet_w2u_errno(int error);
|
|||||||
* void Sleep(int ms);
|
* void Sleep(int ms);
|
||||||
*/
|
*/
|
||||||
void sleep(int sec);
|
void sleep(int sec);
|
||||||
//void usleep(int usec);
|
void usleep(int usec);
|
||||||
|
|
||||||
#endif // END of WINDOWS defines.
|
#endif // END of WINDOWS defines.
|
||||||
/********************************** WINDOWS/UNIX SPECIFIC PART ******************/
|
/********************************** WINDOWS/UNIX SPECIFIC PART ******************/
|
||||||
|
Loading…
Reference in New Issue
Block a user