Mercurial > sdl-ios-xcode
comparison src/audio/SDL_audio.c @ 5088:c2539ff054c8
Fixed compiling on Windows Mobile SDK 5.0 with Visual Studio 2008
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Mon, 24 Jan 2011 15:46:11 -0800 |
parents | e8916fe9cfc8 |
children | b530ef003506 |
comparison
equal
deleted
inserted
replaced
5087:e7680e2c9f3c | 5088:c2539ff054c8 |
---|---|
969 | 969 |
970 /* Start the audio thread if necessary */ | 970 /* Start the audio thread if necessary */ |
971 if (!current_audio.impl.ProvidesOwnCallbackThread) { | 971 if (!current_audio.impl.ProvidesOwnCallbackThread) { |
972 /* Start the audio thread */ | 972 /* Start the audio thread */ |
973 /* !!! FIXME: this is nasty. */ | 973 /* !!! FIXME: this is nasty. */ |
974 #if (defined(__WINDOWS__) && !defined(_WIN32_WCE)) && !defined(HAVE_LIBC) | 974 #if (defined(__WIN32__) && !defined(_WIN32_WCE)) && !defined(HAVE_LIBC) |
975 #undef SDL_CreateThread | 975 #undef SDL_CreateThread |
976 device->thread = SDL_CreateThread(SDL_RunAudio, device, NULL, NULL); | 976 device->thread = SDL_CreateThread(SDL_RunAudio, device, NULL, NULL); |
977 #else | 977 #else |
978 device->thread = SDL_CreateThread(SDL_RunAudio, device); | 978 device->thread = SDL_CreateThread(SDL_RunAudio, device); |
979 #endif | 979 #endif |