amule-adunanza/aMule-AdunanzA-3.14b3-glib-2.8.10.patch

15 lines
525 B
Diff
Raw Permalink Normal View History

diff -Nru aMule-AdunanzA-3.14b3.orig/src/ThreadTasks.cpp aMule-AdunanzA-3.14b3/src/ThreadTasks.cpp
--- aMule-AdunanzA-3.14b3.orig/src/ThreadTasks.cpp 2008-08-26 08:47:01.000000000 +0200
+++ aMule-AdunanzA-3.14b3/src/ThreadTasks.cpp 2009-10-22 03:14:18.000000000 +0200
@@ -483,6 +483,10 @@
////////////////////////////////////////////////////////////
// CAllocateFileTask
+#if defined(HAVE_FALLOCATE)
+# undef HAVE_FALLOCATE
+#endif
+
#ifdef HAVE_FALLOCATE
# include <linux/falloc.h>
#elif defined HAVE_SYS_FALLOCATE