|
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} }; |