Skip to content

Commit

Permalink
Mac compile fix
Browse files Browse the repository at this point in the history
  • Loading branch information
davidpanderson committed Oct 27, 2023
1 parent e31a156 commit b36c17f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions api/boinc_api.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -551,6 +551,8 @@ static void sporadic_files() {
if (!ret) {
#ifdef _WIN32
time_t t = sbuf.st_mtime;
#elif defined(__APPLE__)
time_t t = sbuf.st_mtimespec.tv_sec;
#else
time_t t = sbuf.st_mtim.tv_sec;
#endif
Expand Down

0 comments on commit b36c17f

Please sign in to comment.