mirror of
https://github.com/RetroShare/BitDHT.git
synced 2026-09-12 19:50:02 +05:00
Clang support
This commit is contained in:
parent
257782b985
commit
53829a9be4
@ -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…
Reference in New Issue
Block a user