mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-22 20:36:50 +03:00
Ticket #2689 (fix fallocate detection for xBSD)
fixed macros 'mc-get-fs-info.m4' for correct 'fallocate' detection under xBSD Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
This commit is contained in:
parent
7b1c27d4e7
commit
33bc4cea27
@ -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