Fixed Utility::Sleep on Windows.

This commit is contained in:
Gunnar Beutner 2012-09-27 10:05:54 +02:00
parent 0cb232f494
commit 5ff640fd14
1 changed files with 1 additions and 1 deletions

View File

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