mirror of
https://github.com/Icinga/icinga2.git
synced 2026-06-08 16:26:42 -04:00
Fixed Utility::Sleep on Windows.
This commit is contained in:
parent
0cb232f494
commit
5ff640fd14
1 changed files with 1 additions and 1 deletions
|
|
@ -330,7 +330,7 @@ void Utility::Sleep(double timeout)
|
|||
#ifndef _WIN32
|
||||
usleep(timeout * 1000 * 1000);
|
||||
#else /* _WIN32 */
|
||||
Sleep(timeout * 1000);
|
||||
::Sleep(timeout * 1000);
|
||||
#endif /* _WIN32 */
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue