mirror of
https://github.com/libretro/RetroArch.git
synced 2025-04-02 10:51:52 -04:00
Add HAVE_THREADS ifdefs
This commit is contained in:
parent
97b8dff0ab
commit
1c9cabf249
1 changed files with 2 additions and 0 deletions
|
@ -1647,8 +1647,10 @@ bool audio_driver_deinit(void)
|
|||
{
|
||||
audio_driver_mixer_deinit();
|
||||
audio_driver_free_devices_list();
|
||||
#ifdef HAVE_THREADS
|
||||
slock_free(s_audio_driver_lock);
|
||||
s_audio_driver_lock = NULL;
|
||||
#endif
|
||||
|
||||
if (!audio_driver_deinit_internal())
|
||||
return false;
|
||||
|
|
Loading…
Add table
Reference in a new issue