Clang support

This commit is contained in:
hunbernd 2020-05-30 02:16:59 +02:00
parent 5a7b9e416c
commit cd751f12d4
10 changed files with 35 additions and 20 deletions

View file

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

View file

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