# HG changeset patch # User Sam Lantinga # Date 1140546579 0 # Node ID ceb5c2fec4f180471913737925d768614e517f96 # Parent 0c6941483cc61721d06575603790fc392736ae83 Fixed some preprocessor mangling diff -r 0c6941483cc6 -r ceb5c2fec4f1 src/audio/SDL_audio.c --- a/src/audio/SDL_audio.c Tue Feb 21 18:20:10 2006 +0000 +++ b/src/audio/SDL_audio.c Tue Feb 21 18:29:39 2006 +0000 @@ -448,14 +448,9 @@ #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 @@ return(-1); } -#if SDL_AUDIO_DRIVER_AHI while(!audio_configured) SDL_Delay(100); #endif