Skip to content

Commit

Permalink
Merge pull request #162 from roothider/1010.6-ld64-951.9
Browse files Browse the repository at this point in the history
fix typo
  • Loading branch information
tpoechtrager authored Nov 14, 2024
2 parents a2724f0 + ca23d3a commit 81f205e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions cctools/libstuff/writeout.c
Original file line number Diff line number Diff line change
Expand Up @@ -312,22 +312,22 @@ uint32_t *throttle)
#if 0
if (__builtin_available(macOS 10.12, *)) {
#endif /* 0 */
#ifdef HAVE_UTIMESAT
#ifdef HAVE_UTIMENSAT
struct timespec times[2] = {0};
memcpy(&times[0], &toc_timespec, sizeof(struct timespec));
memcpy(&times[1], &toc_timespec, sizeof(struct timespec));
time_result = utimensat(AT_FDCWD, output, times, 0);
#endif /* HAVE_UTIMESAT */
#endif /* HAVE_UTIMENSAT */
#if 0
}
else {
#endif /* 0 */
#ifndef HAVE_UTIMESAT
#ifndef HAVE_UTIMENSAT
struct timeval times[2] = {0};
memcpy(&times[0], &toc_timeval, sizeof(struct timeval));
memcpy(&times[1], &toc_timeval, sizeof(struct timeval));
time_result = utimes(output, times);
#endif /* !HAVE_UTIMESAT */
#endif /* !HAVE_UTIMENSAT */
#if 0
}
#endif /* 0 */
Expand Down

0 comments on commit 81f205e

Please sign in to comment.