Fix NOGME compiling

This commit is contained in:
James R 2020-08-24 17:51:01 -07:00
parent 3ce6b8a54f
commit 0d57ba1d02

View file

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