mirror of
https://github.com/KLayout/klayout.git
synced 2026-09-03 16:30:20 +02:00
Yet another fix for Windows build.
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user