Ticket #55415: patch-birthtime@Tiger.diff

File patch-birthtime@Tiger.diff, 592 bytes (added by ballapete (Peter "Pete" Dyballa), 7 years ago)

Proposed patch for Tiger's unknown birthtime

  • Utilities/cmlibuv/src/unix/fs.

    old new  
    795795  dst->st_mtim.tv_nsec = src->st_mtimespec.tv_nsec;
    796796  dst->st_ctim.tv_sec = src->st_ctimespec.tv_sec;
    797797  dst->st_ctim.tv_nsec = src->st_ctimespec.tv_nsec;
     798#if __MAC_OS_X_VERSION_MIN_REQUIRED >= 1050
    798799  dst->st_birthtim.tv_sec = src->st_birthtimespec.tv_sec;
    799800  dst->st_birthtim.tv_nsec = src->st_birthtimespec.tv_nsec;
     801#endif
    800802  dst->st_flags = src->st_flags;
    801803  dst->st_gen = src->st_gen;
    802804#elif defined(__ANDROID__)