ATTN AMERICANS & AMERICAN-STYLE COMPUTING ENTHUSIASTS: does the macintosh need some special macro to get standard time fields in struct stat? because this user claims that using them breaks the build on their "mac" https://github.com/cybernoid/archivemount/issues/32#issuecomment-2308997424
why why why why why why why why
obviously POSIX defines ONLY struct timespect st_mtim; naturally. apparently its done this since POSIX.1-2008. that's TWO standard versions ago. and 16 years. and that's too hard for apple engineers. trillion dollar company. to produce
union {
struct timespec st_mtim;
struct timespec st_mtimespec;
struct {
time_t st_mtime;
long st_mtimensec;
}
};
and run it back for atim/ctim/btim
@lanodan 100%. i would easily say this, in general, is a distribution patch. but for one line in one file to keep compat with existing packaging..? meh sure whatever