eio: fix build with xattr and without splice.

Fix bug #1511 reported by Sleep Walker.


SVN revision: 76634
This commit is contained in:
Cedric BAIL 2012-09-14 02:06:24 +00:00
parent ae846c238a
commit ae78bed101
3 changed files with 6 additions and 1 deletions

View File

@ -43,3 +43,7 @@
2012-09-10 Cedric Bail 2012-09-10 Cedric Bail
* Fix monitor shutdown when mainloop did never run. * Fix monitor shutdown when mainloop did never run.
2012-09-14 Cedric Bail
* Fix build with xattr without splice.

View File

@ -7,6 +7,7 @@ Additions:
Fixes: Fixes:
- fix monitor shutdown when mainloop did never run. - fix monitor shutdown when mainloop did never run.
- fix build with xattr and without splice.
Improvements: Improvements:

View File

@ -669,7 +669,7 @@ eio_file_copy_do(Ecore_Thread *thread, Eio_File_Progress *copy)
} }
else else
{ {
#ifdef HAVE_XATTR #if defined HAVE_XATTR && defined HAVE_SPLICE
_eio_file_copy_xattr(thread, copy, in, out); _eio_file_copy_xattr(thread, copy, in, out);
#endif #endif
} }