mirror of
https://github.com/rakshasa/rtorrent.git
synced 2026-08-17 23:52:30 +00:00
* 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:
+2
-1
@@ -162,8 +162,9 @@ AC_DEFUN([TORRENT_CHECK_FALLOCATE], [
|
|||||||
|
|
||||||
AC_COMPILE_IFELSE(
|
AC_COMPILE_IFELSE(
|
||||||
[[#include <fcntl.h>
|
[[#include <fcntl.h>
|
||||||
|
#include <linux/falloc.h>
|
||||||
int main() {
|
int main() {
|
||||||
fallocate(0, FALLOC_FL_KEEP_SIZE, 0, 0);
|
fallocate(0, FALLOC_FL_KEEP_SIZE, 0, 0);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
]],
|
]],
|
||||||
|
|||||||
Reference in New Issue
Block a user