Yet another fix for Windows build.

This commit is contained in:
Matthias Koefferlein 2021-01-31 21:49:20 +01:00
parent d10165928f
commit 036e9f7d6b
1 changed files with 4 additions and 0 deletions

View File

@ -37,6 +37,8 @@
namespace tl
{
#if !defined(_WIN32)
static void init_sigmask_for_sleep (sigset_t *mask)
{
sigemptyset (mask);
@ -48,6 +50,8 @@ static void init_sigmask_for_sleep (sigset_t *mask)
sigaddset (mask, SIGWINCH);
}
#endif
void usleep (unsigned long us)
{
#if defined(_WIN32)