View Single Post
Old 12-11-2021, 12:49 PM   #35
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 8,883
Karma: 6120478
Join Date: Nov 2009
Device: many
Based on that bug report error message in miniz.h the wrong branch is being taken for arm64 as it is defining it as follows:
Code:
  #elif defined(__GNUC__) && _LARGEFILE64_SOURCE
    ...
    #define MZ_FILE_STAT_STRUCT stat64
    #define MZ_FILE_STAT stat64
    ...
instead of ...

Code:
  #else 
    ... 
    #define MZ_FILE_STAT_STRUCT stat
    #define MZ_FILE_STAT stat
    ...
So near line 310 in miniz.h you might try adding the following inside the Apple ifdef

Code:
#define stat64 stat

But all of this is a guess based on that bug report error message.

You also want to double check that <sys/stat.h> is properly included on arm64 as well.

Last edited by KevinH; 12-11-2021 at 01:06 PM.
KevinH is offline   Reply With Quote