OpenMPT.txt 1.0 KB

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