From 4c1dc265bc62237e17e09fcb62d51aacd6149a2d Mon Sep 17 00:00:00 2001 From: twinaphex Date: Sat, 27 May 2017 21:18:23 +0200 Subject: [PATCH] Put ifdef around this --- audio/audio_driver.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/audio/audio_driver.c b/audio/audio_driver.c index 73cfd8f754..e842d359d5 100644 --- a/audio/audio_driver.c +++ b/audio/audio_driver.c @@ -903,7 +903,9 @@ bool audio_driver_mixer_extension_supported(const char *ext) attr.i = 0; +#ifdef HAVE_STB_VORBIS string_list_append(str_list, "ogg", attr); +#endif string_list_append(str_list, "wav", attr); for (i = 0; i < str_list->size; i++)