diff options
| author | Wiimm <none> | 2020-10-01 15:40:56 +0200 |
|---|---|---|
| committer | Wiimm <none> | 2020-10-01 15:40:56 +0200 |
| commit | 731a1ce8fcdbbd1fa8f4f693c3f7f2b74d81e598 (patch) | |
| tree | 3d398e833961c30787c113fcd58faec761d1a646 /project/src/wszst.c | |
| parent | 18cf1faf0498a9821996cde8438e50403d9debd3 (diff) | |
SZS v2.20a.beta6: Test Mac build
Diffstat (limited to 'project/src/wszst.c')
| -rw-r--r-- | project/src/wszst.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/project/src/wszst.c b/project/src/wszst.c index 15100f2..595d1d9 100644 --- a/project/src/wszst.c +++ b/project/src/wszst.c @@ -1785,11 +1785,7 @@ static enumError cmd_sha1() { if (long_count>1) { - #if HAVE_FILEATTRIB_NSEC - struct tm * tm = localtime(&szs.fatt.mtime.tv_sec); - #else - struct tm * tm = localtime(&szs.fatt.mtime); - #endif + struct tm * tm = localtime(&FILEATTRIB_SEC(szs.fatt.mtime)); char timbuf[40]; strftime(timbuf,sizeof(timbuf),"%F %T ",tm); fputs(timbuf,stdout); |
