diff --git a/stepmania/src/arch/Sound/RageSoundDriver_Null.cpp b/stepmania/src/arch/Sound/RageSoundDriver_Null.cpp index 7c3f9281c4..7e81190cb1 100644 --- a/stepmania/src/arch/Sound/RageSoundDriver_Null.cpp +++ b/stepmania/src/arch/Sound/RageSoundDriver_Null.cpp @@ -29,7 +29,7 @@ void RageSound_Null::MixerThread() { /* SOUNDMAN will be set once RageSoundManager's ctor returns and * assigns it; we might get here before that happens, though. */ - while(!SOUNDMAN && !shutdown) sleep(10); + while(!SOUNDMAN && !shutdown) SDL_Delay(10); /* not sure if a nansleep is needed, but certainly helps * when there is LOG->Trace in GetData() */