Fix NOGME compiling

(cherry picked from commit d52a35e5b6)
This commit is contained in:
James R 2020-08-24 17:51:01 -07:00
parent f52b66fdf5
commit 1818693d71

View file

@ -220,6 +220,7 @@ static void var_cleanup(void)
internal_volume = 100;
}
#if defined (HAVE_LIBGME) && defined (HAVE_ZLIB)
static const char* get_zlib_error(int zErr)
{
switch (zErr)
@ -240,6 +241,7 @@ static const char* get_zlib_error(int zErr)
return "unknown error";
}
}
#endif
/// ------------------------
/// Audio System