Fix NOGME compiling

(cherry picked from commit 0d57ba1d02c5bde2ab22a71d21a95849b21e9539)
This commit is contained in:
James R 2020-08-24 17:51:01 -07:00
parent 8d9b16df8c
commit 2aab765b36
1 changed files with 2 additions and 0 deletions

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