foxygit / doom Log in
commit e7716f82d2e1e45be27dd0e0e9d1d5b9447835a5
Author:     Michael Day <contact@michaelcday.com>
AuthorDate: Tue Mar 14 20:52:35 2023 -0400
Commit:     Michael Day <contact@michaelcday.com>
CommitDate: Tue Mar 21 13:59:22 2023 -0400

    Guard FluidSynth-only setup variable
---
 src/setup/sound.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/setup/sound.c b/src/setup/sound.c
index 281c4f71..c38804bc 100644
--- a/src/setup/sound.c
+++ b/src/setup/sound.c
@@ -49,7 +49,10 @@ static const char *opltype_strings[] =
 };

 static const char *cfg_extension[] = { "cfg", NULL };
+
+#if HAVE_FLUIDSYNTH
 static const char *sf_extension[] = { "sf2", "sf3", NULL };
+#endif

 // Config file variables: