Github-kuba miniz for Pelles C

Started by John Z, Today at 12:01:37 PM

Previous topic - Next topic

John Z

11/25/2025

This is GitHub-kuba miniz 3.0.2 with minor modifications for Pelles C

Minor changes to compile in Pelles C Version 13 (and probably earlier versions)
All changes annotated with //ZZ

Build Notes:
If file time&date/functions are NOT needed define MINIZ_NO_TIME
If time&date is wanted then the /Go (Define compatibility names) option in Pelles
must be used.

Many build warnings - no errors of course.  Tested zip a file, unzip a file, also
a miniz zipped file was able to be unzipped with Windows itself as well as 7z.
Tested unzip to memory as well.

Did not try using any Pelles C optimizations.  Suggest using
#pragma optimize( none ) in the three source files if using optimizations elsewhere


Also example usages are included from kuba.

John Z