From c140459f3c336a2b23671bf7c891b450facf8ff0 Mon Sep 17 00:00:00 2001 From: alufolie91 Date: Wed, 9 Aug 2023 16:10:29 +0200 Subject: [PATCH] Check if GME_VERSION is defined. see: https://git.do.srb2.org/STJr/SRB2/-/merge_requests/1372 --- src/sdl/mixer_sound.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sdl/mixer_sound.c b/src/sdl/mixer_sound.c index 4e11af3e8..031677fdb 100644 --- a/src/sdl/mixer_sound.c +++ b/src/sdl/mixer_sound.c @@ -1090,7 +1090,7 @@ boolean I_PlaySong(boolean looping) if (gme) { gme_equalizer_t eq = {GME_TREBLE, GME_BASS, 0,0,0,0,0,0,0,0}; -#if GME_VERSION >= 0x000603 +#if defined (GME_VERSION) && GME_VERSION >= 0x000603 gme_set_autoload_playback_limit(gme, 0); #endif gme_set_equalizer(gme, &eq);