mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-07-22 14:10:54 -04:00
Clang support
This commit is contained in:
parent
5a7b9e416c
commit
cd751f12d4
10 changed files with 35 additions and 20 deletions
|
@ -285,12 +285,6 @@ int sleep(unsigned int sec)
|
|||
}
|
||||
#endif
|
||||
|
||||
int usleep(unsigned int usec)
|
||||
{
|
||||
Sleep(usec / 1000);
|
||||
return 0;
|
||||
}
|
||||
|
||||
/********************************** WINDOWS/UNIX SPECIFIC PART ******************/
|
||||
#else // UNIX
|
||||
|
||||
|
|
|
@ -159,7 +159,6 @@ int bdnet_w2u_errno(int error);
|
|||
#ifndef __MINGW64_VERSION_MAJOR
|
||||
int sleep(unsigned int sec);
|
||||
#endif
|
||||
int usleep(unsigned int usec);
|
||||
|
||||
#endif // END of WINDOWS defines.
|
||||
/********************************** WINDOWS/UNIX SPECIFIC PART ******************/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue