Skip to content
Permalink
Browse files

Fixed some preprocessor mangling

  • Loading branch information
slouken committed Feb 21, 2006
1 parent b2068ab commit 9f4777ca89b77e29ce3f55797fdc98c153bc0bd4
Showing with 1 addition and 7 deletions.
  1. +1 −7 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

0 comments on commit 9f4777c

Please sign in to comment.