Merge branch 'nogmever' into 'next'

Check if GME_VERSION is defined.

See merge request STJr/SRB2!1372
This commit is contained in:
Lachlan Wright 2021-03-01 17:50:48 -05:00
commit e03700fc2a
1 changed files with 1 additions and 1 deletions

View File

@ -1298,7 +1298,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
if (looping)
gme_set_autoload_playback_limit(gme, 0);
#endif