Add miniz, a drop-in replacement for (parts of) zlib
authorManuel Nickschas <sputnick@quassel-irc.org>
Mon, 17 Feb 2014 21:13:18 +0000 (22:13 +0100)
committerManuel Nickschas <sputnick@quassel-irc.org>
Mon, 17 Feb 2014 21:13:18 +0000 (22:13 +0100)
commit3156b80615b3783bde9399d0925c745fe3af262e
treeee8a2fa3cd7cafc38e523713d85b9920ef7b97cc
parent249a178a775bce425a83aefd7c7c39a868ebfe98
Add miniz, a drop-in replacement for (parts of) zlib

miniz is a single-file drop-in replacement for most of zlib's
functionality. Having this bundled is quite convenient for us, so we
can rely on compression even on platforms where zlib is not readily
available.

miniz allows disabling unneeded functionality at compile time, by changing
some #defines, so we just compile the parts we really need (namely, the
basic DEFLATE routines).

We may use zlib proper in the future if we find it at compile time, though.
3rdparty/miniz/miniz.c [new file with mode: 0644]
src/common/CMakeLists.txt