TWilmer / miniz

Automatically exported from code.google.com/p/miniz
0 stars 0 forks source link

MINIZ_NO_STDIO option fails to compile #5

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. #define MINIZ_NO_STDIO

What is the expected output? What do you see instead?
'mz_zip_reader_extract_to_file': identifier not found

Please provide any additional information below.
Problem appears to be that mz_zip_reader_extract_file_to_file should not be 
defined in MINIZ_NO_STDIO builds

Solution appears to be to wrap mz_zip_reader_extract_file_to_file in #ifndef 
MINIZ_NO_STDIO
#endif

Original issue reported on code.google.com by corys...@gmail.com on 18 May 2012 at 1:10

GoogleCodeExporter commented 8 years ago
Thank you very much corysama - I'll fix this in the next release.

-Rich

Original comment by richge...@gmail.com on 20 May 2012 at 12:08

GoogleCodeExporter commented 8 years ago
This should be fixed as of v1.13 (just released). I've created you at the top 
of miniz.c. Thanks!

Original comment by richge...@gmail.com on 20 May 2012 at 4:40

GoogleCodeExporter commented 8 years ago
Happy to help!
I've only just barely cracked open miniz, but it looks promising. I'll let you 
know how it goes.  In the mean time, many thanks for the many short, sweet and 
awesome libs you've shared!

On May 19, 2012, at 9:40 PM,  @googlecode.com wrote:

Original comment by corys...@gmail.com on 20 May 2012 at 6:01