Patched to compile on Android when audio subsystem is disabled (thanks, Jonas!)

Fixes Bugzilla #2797.
This commit is contained in:
Ryan C. Gordon 2015-04-05 15:52:37 -04:00
parent 3e4a8ce1c2
commit 0713c1e53b
1 changed files with 6 additions and 0 deletions

View File

@ -32,8 +32,14 @@
void android_egl_context_backup(); void android_egl_context_backup();
void android_egl_context_restore(); void android_egl_context_restore();
#if SDL_AUDIO_DRIVER_ANDROID
void AndroidAUD_ResumeDevices(void); void AndroidAUD_ResumeDevices(void);
void AndroidAUD_PauseDevices(void); void AndroidAUD_PauseDevices(void);
#else
static void AndroidAUD_ResumeDevices(void) {}
static void AndroidAUD_PauseDevices(void) {}
#endif
void void
android_egl_context_restore() android_egl_context_restore()