Fixed some preprocessor mangling
authorSam Lantinga
Tue, 21 Feb 2006 18:29:39 +0000
changeset 1408ceb5c2fec4f1
parent 1407 0c6941483cc6
child 1409 ebc8b5855040
Fixed some preprocessor mangling
src/audio/SDL_audio.c
     1.1 --- a/src/audio/SDL_audio.c	Tue Feb 21 18:20:10 2006 +0000
     1.2 +++ b/src/audio/SDL_audio.c	Tue Feb 21 18:29:39 2006 +0000
     1.3 @@ -448,14 +448,9 @@
     1.4  #else
     1.5  	D(bug("Locking semaphore..."));
     1.6  	SDL_mutexP(audio->mixer_lock);
     1.7 -#endif
     1.8 +
     1.9  
    1.10 -#if (defined(__WIN32__) && !defined(_WIN32_WCE)) && !defined(HAVE_LIBC)
    1.11 -#undef SDL_CreateThread
    1.12 -	audio->thread = SDL_CreateThread(SDL_RunAudio, audio, NULL, NULL);
    1.13 -#else
    1.14  	audio->thread = SDL_CreateThread(SDL_RunAudio, audio);
    1.15 -#endif
    1.16  	D(bug("Created thread...\n"));
    1.17  
    1.18  	if ( audio->thread == NULL ) {
    1.19 @@ -465,7 +460,6 @@
    1.20  		return(-1);
    1.21  	}
    1.22  
    1.23 -#if SDL_AUDIO_DRIVER_AHI
    1.24  	while(!audio_configured)
    1.25  		SDL_Delay(100);
    1.26  #endif