Cannot build fuze-zip 0.7.0 on mac osx.

Issue #66 closed
Thierry Moisan created an issue

Two issues are stopping the build of fuze-zip 0.7.0 on osx:

  • <sys/sysmacros.h> doesn’t exist on osx and doesn’t seem to be needed. It should only be included when the system is not osx.
  • The stat struct is slightly different on osx:

https://developer.apple.com/library/archive/documentation/System/Conceptual/ManPages_iPhoneOS/man2/stat.2.html

Replacing atime, mtime and ctime by, respectively, st_atimespec, st_mtimespec and st_ctimespec fixes the issue.

See this mac homebrew pull request for more details.

Comments (5)

  1. Log in to comment