gdraheim / zziplib

The ZZIPlib provides read access on ZIP-archives and unpacked data. It features an additional simplified API following the standard Posix API for file access
Other
62 stars 50 forks source link

Fix compilation on Mingw and recent compilers. #5

Closed geromueller closed 7 years ago

gdraheim commented 7 years ago

The problems have been solved with different code.

There had already been occurrence in write.c but those had been been generalized - there are now internal header files <zzip/mkdir.h> and <zzip/string.h> to handle the difference.

Since there is no specific test to mingw her it would be nice to check the master branch.

geromueller commented 7 years ago

Good, the code in master is much cleaner! EBADMSG is still not defined though. Maybe there is a central place for it aswell?

gdraheim commented 7 years ago

I had overlooked those patch lines .... a new zzip/__errno.h has been introduced now.

geromueller commented 7 years ago

thanks. looking good!