blob: eae92ddd11b62bfbbd879fac42f2704a39891119 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
miniz DEFLATE implementation.
https://github.com/richgel999/miniz
2.2.0
Modifications for OpenMPT:
* #define MINIZ_NO_STDIO has been set because OpenMPT does not need stdio
functionality and miniz relies on secure-CRT file i/o functions in windows
builds which are not available on all mingw64 versions.
* #define MINIZ_USE_UNALIGNED_LOADS_AND_STORES 0 is used unconditionally,
because unaligned access is undefined behaviour.
* Various warnings in platform detection logic using undefined macros have
been fixed.
* Warning `warning: cast from 'const mz_uint8 *' (aka 'const unsigned char *')
to 'const mz_uint32 *' (aka 'const unsigned int *') increases required
alignment from 1 to 4 [-Wcast-align]` has been fixed.
* Definitions of `tdefl_compressor_alloc` and `tinfl_decompressor_alloc`
have beeen fixed
* Missing #ifndef MINIZ_NO_STDIO has been added to miniz.h.
* #define MINIZ_EXPORT needs to be guarded by #fndef MINIZ_EXPORT.
No further changes have been made.
|