changeset 1408:ceb5c2fec4f1

Fixed some preprocessor mangling
author Sam Lantinga <slouken@libsdl.org>
date Tue, 21 Feb 2006 18:29:39 +0000
parents 0c6941483cc6
children ebc8b5855040
files src/audio/SDL_audio.c
diffstat 1 files changed, 1 insertions(+), 7 deletions(-) [+]
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