Check if GME_VERSION is defined.

see: https://git.do.srb2.org/STJr/SRB2/-/merge_requests/1372
This commit is contained in:
alufolie91 committed 2023-08-09 16:10:29 +02:00
1 parent 2b8bca307c
commit c140459f3c
1 file changed
+1 -1
+1 -1
View File
@@ -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);