From 9f4777ca89b77e29ce3f55797fdc98c153bc0bd4 Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Tue, 21 Feb 2006 18:29:39 +0000 Subject: [PATCH] Fixed some preprocessor mangling --- src/audio/SDL_audio.c | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/src/audio/SDL_audio.c b/src/audio/SDL_audio.c index fbc61be6f..e04b41509 100644 --- a/src/audio/SDL_audio.c +++ b/src/audio/SDL_audio.c @@ -448,14 +448,9 @@ int SDL_OpenAudio(SDL_AudioSpec *desired, SDL_AudioSpec *obtained) #else D(bug("Locking semaphore...")); SDL_mutexP(audio->mixer_lock); -#endif -#if (defined(__WIN32__) && !defined(_WIN32_WCE)) && !defined(HAVE_LIBC) -#undef SDL_CreateThread - audio->thread = SDL_CreateThread(SDL_RunAudio, audio, NULL, NULL); -#else + audio->thread = SDL_CreateThread(SDL_RunAudio, audio); -#endif D(bug("Created thread...\n")); if ( audio->thread == NULL ) { @@ -465,7 +460,6 @@ int SDL_OpenAudio(SDL_AudioSpec *desired, SDL_AudioSpec *obtained) return(-1); } -#if SDL_AUDIO_DRIVER_AHI while(!audio_configured) SDL_Delay(100); #endif