Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 735818 | Differences between
and this patch

Collapse All | Expand All

(-)zstd-1.4.5.orig/programs/util.c (-1 / +1 lines)
Lines 149-155 Link Here
149
     * that struct stat has a struct timespec st_mtim member. We need this
149
     * that struct stat has a struct timespec st_mtim member. We need this
150
     * check because there are some platforms that claim to be POSIX 2008
150
     * check because there are some platforms that claim to be POSIX 2008
151
     * compliant but which do not have st_mtim... */
151
     * compliant but which do not have st_mtim... */
152
#if (PLATFORM_POSIX_VERSION >= 200809L) && defined(st_mtime)
152
#if (PLATFORM_POSIX_VERSION >= 200809L) && (defined(st_mtime) || (defined(__linux__) && defined(__alpha)))
153
    {
153
    {
154
        /* (atime, mtime) */
154
        /* (atime, mtime) */
155
        struct timespec timebuf[2] = { {0, UTIME_NOW} };
155
        struct timespec timebuf[2] = { {0, UTIME_NOW} };

Return to bug 735818