Ticket #55415: Tiger-patch-libuv-src-unix-fs.c.diff

File Tiger-patch-libuv-src-unix-fs.c.diff, 905 bytes (added by ballapete (Peter "Pete" Dyballa), 7 years ago)

To get loose of birthtime member in struct

  • Utilities/cmlibuv/src/unix/fs.c

    old new  
    626626
    627627    return -1;
    628628  }
    629 #elif defined(__APPLE__)           || \
     629/* MACOSX 10.5 and greater have sendfile */
     630#elif (defined(__APPLE__) && MAC_OS_X_VERSION_MIN_REQUIRED > 1040) || \
    630631      defined(__DragonFly__)       || \
    631632      defined(__FreeBSD__)         || \
    632633      defined(__FreeBSD_kernel__)
     
    795796  dst->st_mtim.tv_nsec = src->st_mtimespec.tv_nsec;
    796797  dst->st_ctim.tv_sec = src->st_ctimespec.tv_sec;
    797798  dst->st_ctim.tv_nsec = src->st_ctimespec.tv_nsec;
     799#if  MAC_OS_X_VERSION_MIN_REQUIRED > 1040
    798800  dst->st_birthtim.tv_sec = src->st_birthtimespec.tv_sec;
    799801  dst->st_birthtim.tv_nsec = src->st_birthtimespec.tv_nsec;
     802#endif
    800803  dst->st_flags = src->st_flags;
    801804  dst->st_gen = src->st_gen;
    802805#elif defined(__ANDROID__)