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) |
---|
-
Utilities/cmlibuv/src/unix/fs.c
old new 626 626 627 627 return -1; 628 628 } 629 #elif defined(__APPLE__) || \ 629 /* MACOSX 10.5 and greater have sendfile */ 630 #elif (defined(__APPLE__) && MAC_OS_X_VERSION_MIN_REQUIRED > 1040) || \ 630 631 defined(__DragonFly__) || \ 631 632 defined(__FreeBSD__) || \ 632 633 defined(__FreeBSD_kernel__) … … 795 796 dst->st_mtim.tv_nsec = src->st_mtimespec.tv_nsec; 796 797 dst->st_ctim.tv_sec = src->st_ctimespec.tv_sec; 797 798 dst->st_ctim.tv_nsec = src->st_ctimespec.tv_nsec; 799 #if MAC_OS_X_VERSION_MIN_REQUIRED > 1040 798 800 dst->st_birthtim.tv_sec = src->st_birthtimespec.tv_sec; 799 801 dst->st_birthtim.tv_nsec = src->st_birthtimespec.tv_nsec; 802 #endif 800 803 dst->st_flags = src->st_flags; 801 804 dst->st_gen = src->st_gen; 802 805 #elif defined(__ANDROID__)