diff src/audio/SDL_audio.c @ 1408:ceb5c2fec4f1

Fixed some preprocessor mangling
author Sam Lantinga <slouken@libsdl.org>
date Tue, 21 Feb 2006 18:29:39 +0000
parents 39ca9a4b22f3
children e3242177fe4a
line wrap: on
line diff
--- 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