google / zopfli

Zopfli Compression Algorithm is a compression library programmed in C to perform very good, but slow, deflate or zlib compression.
Apache License 2.0
3.43k stars 330 forks source link

Fix compilation on MSVC 2008 #189

Open greg-kennedy opened 1 year ago

greg-kennedy commented 1 year ago

Misc. linting to get this building on my machine - an undefined function (found in io.h) and some casts required to avoid warnings or ambiguous statements when compiling in C++ mode.

I use a SOURCES file plus WinDDK 7.1 to build this for Windows XP machines, and these allow building to succeed with warning level up to /W2.