mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-23 04:46:55 +03:00
Merge branch '2689_bsd_fallocate_fix'
* 2689_bsd_fallocate_fix: Ticket #2689 (fix fallocate detection for xBSD)
This commit is contained in:
commit
dca8a412bc
@ -5,7 +5,7 @@ dnl
|
||||
|
||||
AC_DEFUN([gl_POSIX_FALLOCATE], [
|
||||
dnl * Old glibcs have broken posix_fallocate(). Make sure not to use it.
|
||||
AC_TRY_COMPILE([
|
||||
AC_TRY_LINK([
|
||||
#define _XOPEN_SOURCE 600
|
||||
#include <stdlib.h>
|
||||
#if defined(__GLIBC__) && (__GLIBC__ < 2 || __GLIBC_MINOR__ < 7)
|
||||
|
Loading…
Reference in New Issue
Block a user