summaryrefslogtreecommitdiff
path: root/src/lib/eina/eina_file.c
diff options
context:
space:
mode:
authorGustavo Sverzut Barbieri <barbieri@gmail.com>2013-01-14 00:00:37 +0000
committerGustavo Sverzut Barbieri <barbieri@gmail.com>2013-01-14 00:00:37 +0000
commite21bfbbbb290df5985f33cab9aa695b5578b37b4 (patch)
tree3f8f712094beb270ce7723caf293cb51b3b21928 /src/lib/eina/eina_file.c
parent62bca66249c381c39f8d649dcfc1a9ff902c6201 (diff)
eina: add missing ifdef around splice code.
SVN revision: 82735
Diffstat (limited to 'src/lib/eina/eina_file.c')
-rw-r--r--src/lib/eina/eina_file.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/eina/eina_file.c b/src/lib/eina/eina_file.c
index 15b2192..98dff36 100644
--- a/src/lib/eina/eina_file.c
+++ b/src/lib/eina/eina_file.c
@@ -1556,6 +1556,7 @@ _eina_file_copy_read_internal(int fd, char *buf, off_t bufsize, ssize_t *readsiz
1556 } 1556 }
1557} 1557}
1558 1558
1559#ifdef HAVE_SPLICE
1559static Eina_Bool 1560static Eina_Bool
1560_eina_file_copy_write_splice_internal(int fd, int pipefd, size_t size) 1561_eina_file_copy_write_splice_internal(int fd, int pipefd, size_t size)
1561{ 1562{
@@ -1612,6 +1613,7 @@ _eina_file_copy_read_splice_internal(int fd, int pipefd, off_t bufsize, ssize_t
1612 } 1613 }
1613 } 1614 }
1614} 1615}
1616#endif
1615 1617
1616static Eina_Bool 1618static Eina_Bool
1617_eina_file_copy_splice_internal(int s, int d, off_t total, Eina_File_Copy_Progress cb, const void *cb_data, Eina_Bool *splice_unsupported) 1619_eina_file_copy_splice_internal(int s, int d, off_t total, Eina_File_Copy_Progress cb, const void *cb_data, Eina_Bool *splice_unsupported)