aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/helpers.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2014-04-16 06:59:44 -0700
committerChris Robinson <[email protected]>2014-04-16 06:59:44 -0700
commitb020dd13fda12ffa275f6c8165dcad481f9658d6 (patch)
tree8d9ab0e331765c305f62ab4cf609261913333b64 /Alc/helpers.c
parent184cf30cf70d0efcba8cfb7c27f464dbc4a3edaf (diff)
Avoid using a Sleep() wrapper
Diffstat (limited to 'Alc/helpers.c')
-rw-r--r--Alc/helpers.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/Alc/helpers.c b/Alc/helpers.c
index 062ec83c..17fc9c2c 100644
--- a/Alc/helpers.c
+++ b/Alc/helpers.c
@@ -451,16 +451,6 @@ ALuint timeGetTime(void)
#endif
}
-void Sleep(ALuint t)
-{
- struct timespec tv, rem;
- tv.tv_nsec = (t*1000000)%1000000000;
- tv.tv_sec = t/1000;
-
- while(nanosleep(&tv, &rem) == -1 && errno == EINTR)
- tv = rem;
-}
-
#ifdef HAVE_DLFCN_H
void *LoadLib(const char *name)