dHRUSHIT / miniz

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

Defining MINIZ_NO_TIME generates a compiler error #12

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Defining MINIZ_NO_TIME generates a compiler error (unknown type) because 
mz_zip_set_file_times uses the type time_t without time.h being included.

Original issue reported on code.google.com by ravas.go...@gmail.com on 13 Mar 2013 at 8:21

GoogleCodeExporter commented 9 years ago
Thanks - I'm fixing this right now by making time_t MZ_TIME_T.

Original comment by richge...@gmail.com on 13 Oct 2013 at 12:29

GoogleCodeExporter commented 9 years ago
Ok, I think I've fixed this in v1.15 by #ifdef'ing the whole function when 
MINIZ_NO_TIME is not defined.

Original comment by richge...@gmail.com on 13 Oct 2013 at 5:26