mirror of https://github.com/BOINC/boinc.git
Mac compile fix
This commit is contained in:
parent
e31a1562f2
commit
b36c17f82b
|
@ -551,6 +551,8 @@ static void sporadic_files() {
|
||||||
if (!ret) {
|
if (!ret) {
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
time_t t = sbuf.st_mtime;
|
time_t t = sbuf.st_mtime;
|
||||||
|
#elif defined(__APPLE__)
|
||||||
|
time_t t = sbuf.st_mtimespec.tv_sec;
|
||||||
#else
|
#else
|
||||||
time_t t = sbuf.st_mtim.tv_sec;
|
time_t t = sbuf.st_mtim.tv_sec;
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue