Browse Source

filesystem: zip: use miniz header only library instead of zlib, add miniz generated header(stripped ZIP reading/writing code)

pull/2/head
Alibek Omarov 6 years ago
parent
commit
85240f0145
  1. 2
      engine/common/filesystem.c
  2. 3853
      engine/common/miniz.h

2
engine/common/filesystem.c

@ -16,7 +16,6 @@ GNU General Public License for more details. @@ -16,7 +16,6 @@ GNU General Public License for more details.
#include <fcntl.h>
#include <sys/stat.h>
#include <time.h>
#include <zlib.h>
#ifdef _WIN32
#include <direct.h>
#include <io.h>
@ -24,6 +23,7 @@ GNU General Public License for more details. @@ -24,6 +23,7 @@ GNU General Public License for more details.
#include <dirent.h>
#include <errno.h>
#endif
#include "miniz.h" // header-only zlib replacement
#include "common.h"
#include "wadfile.h"
#include "filesystem.h"

3853
engine/common/miniz.h

File diff suppressed because it is too large Load Diff
Loading…
Cancel
Save