Add back HAVE_ZLIB ifdefs for console_ext.c

This commit is contained in:
TwinAphex51224 2012-03-07 20:32:51 +01:00
parent 428050904c
commit 4e68eb12ab

View File

@ -24,8 +24,10 @@
#include <string.h>
#include <ctype.h>
#ifdef HAVE_ZLIB
#include "szlib/zlib.h"
#define WRITEBUFFERSIZE (1024 * 512)
#endif
#ifdef _WIN32
#include "../posix_string.h"
@ -105,6 +107,8 @@ void ssnes_console_set_default_keybind_names_for_emulator(void)
}
}
#ifdef HAVE_ZLIB
static int ssnes_extract_currentfile_in_zip(unzFile uf)
{
char filename_inzip[PATH_MAX];
@ -216,4 +220,6 @@ int ssnes_extract_zipfile(const char *zip_path)
}
return 0;
}
}
#endif