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:
Egmont Koblinger 2012-01-19 14:11:10 +04:00 committed by Ilia Maslakov
parent 7b1c27d4e7
commit 33bc4cea27
1 changed files with 1 additions and 1 deletions

View File

@ -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)