aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/win32/usleep.c
diff options
context:
space:
mode:
Diffstat (limited to 'engines/sci/win32/usleep.c')
-rw-r--r--engines/sci/win32/usleep.c25
1 files changed, 0 insertions, 25 deletions
diff --git a/engines/sci/win32/usleep.c b/engines/sci/win32/usleep.c
deleted file mode 100644
index b175a2b4e2..0000000000
--- a/engines/sci/win32/usleep.c
+++ /dev/null
@@ -1,25 +0,0 @@
-#ifdef _WIN32
-
-#include <windows.h>
-
-extern void
-usleep (long usec)
-{
- LARGE_INTEGER lFrequency;
- LARGE_INTEGER lEndTime;
- LARGE_INTEGER lCurTime;
-
- QueryPerformanceFrequency (&lFrequency);
- if (lFrequency.QuadPart)
- {
- QueryPerformanceCounter (&lEndTime);
- lEndTime.QuadPart += (LONGLONG) usec * lFrequency.QuadPart / 1000000;
- do
- {
- QueryPerformanceCounter (&lCurTime);
- Sleep(0);
- } while (lCurTime.QuadPart < lEndTime.QuadPart);
- }
-}
-
-#endif