mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-10-16 23:06:03 +00:00
Use #ifdef/#ifndef instead of #if defined/#if \!defined
This commit is contained in:

committed by
Anonymous Maarten

parent
308bcbbe76
commit
b6ae281e97
@@ -646,7 +646,7 @@ static int SDLCALL SDL_RunAudio(void *devicep)
|
||||
|
||||
SDL_assert(!device->iscapture);
|
||||
|
||||
#if defined(SDL_AUDIO_DRIVER_ANDROID)
|
||||
#ifdef SDL_AUDIO_DRIVER_ANDROID
|
||||
{
|
||||
/* Set thread priority to THREAD_PRIORITY_AUDIO */
|
||||
Android_JNI_AudioSetThreadPriority(device->iscapture, device->id);
|
||||
@@ -746,7 +746,7 @@ static int SDLCALL SDL_CaptureAudio(void *devicep)
|
||||
|
||||
SDL_assert(device->iscapture);
|
||||
|
||||
#if defined(SDL_AUDIO_DRIVER_ANDROID)
|
||||
#ifdef SDL_AUDIO_DRIVER_ANDROID
|
||||
{
|
||||
/* Set thread priority to THREAD_PRIORITY_AUDIO */
|
||||
Android_JNI_AudioSetThreadPriority(device->iscapture, device->id);
|
||||
|
Reference in New Issue
Block a user