Commit 0487d9cf authored by Sam Lantinga's avatar Sam Lantinga

Fixed some preprocessor mangling

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401412
parent b2a121cb
...@@ -448,14 +448,9 @@ int SDL_OpenAudio(SDL_AudioSpec *desired, SDL_AudioSpec *obtained) ...@@ -448,14 +448,9 @@ int SDL_OpenAudio(SDL_AudioSpec *desired, SDL_AudioSpec *obtained)
#else #else
D(bug("Locking semaphore...")); D(bug("Locking semaphore..."));
SDL_mutexP(audio->mixer_lock); 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); audio->thread = SDL_CreateThread(SDL_RunAudio, audio);
#endif
D(bug("Created thread...\n")); D(bug("Created thread...\n"));
if ( audio->thread == NULL ) { if ( audio->thread == NULL ) {
...@@ -465,7 +460,6 @@ int SDL_OpenAudio(SDL_AudioSpec *desired, SDL_AudioSpec *obtained) ...@@ -465,7 +460,6 @@ int SDL_OpenAudio(SDL_AudioSpec *desired, SDL_AudioSpec *obtained)
return(-1); return(-1);
} }
#if SDL_AUDIO_DRIVER_AHI
while(!audio_configured) while(!audio_configured)
SDL_Delay(100); SDL_Delay(100);
#endif #endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment