Ticket #2689: mc-4.8.1-macosx-fallocate.patch
File mc-4.8.1-macosx-fallocate.patch, 560 bytes (added by egmont, 13 years ago) |
---|
-
m4.include/mc-get-fs-info.m4
diff -ur mc-4.8.1.orig/m4.include/mc-get-fs-info.m4 mc-4.8.1/m4.include/mc-get-fs-info.m4
old new 5 5 6 6 AC_DEFUN([gl_POSIX_FALLOCATE], [ 7 7 dnl * Old glibcs have broken posix_fallocate(). Make sure not to use it. 8 AC_TRY_ COMPILE([8 AC_TRY_LINK([ 9 9 #define _XOPEN_SOURCE 600 10 10 #include <stdlib.h> 11 11 #if defined(__GLIBC__) && (__GLIBC__ < 2 || __GLIBC_MINOR__ < 7)