* Fixed the linux fallocate detection script.

git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@1143 e378c898-3ddf-0310-93e7-cc216c733640
This commit is contained in:
rakshasa
2010-03-12 10:29:11 +00:00
parent df4c0ce67b
commit ded689d3ff
+2 -1
View File
@@ -162,8 +162,9 @@ AC_DEFUN([TORRENT_CHECK_FALLOCATE], [
AC_COMPILE_IFELSE(
[[#include <fcntl.h>
#include <linux/falloc.h>
int main() {
fallocate(0, FALLOC_FL_KEEP_SIZE, 0, 0);
fallocate(0, FALLOC_FL_KEEP_SIZE, 0, 0);
return 0;
}
]],