diff options
author | Steven Barth <steven@midlink.org> | 2009-06-15 19:11:38 +0000 |
---|---|---|
committer | Steven Barth <steven@midlink.org> | 2009-06-15 19:11:38 +0000 |
commit | 8546622f654632277ee561aa8062ece67eb158ca (patch) | |
tree | 6cd7e58522159bc7a858e303d051d7dfb4a25a62 /libs/nixio | |
parent | af4c152ed37f130154d3b5b4369d1571b9a716c6 (diff) |
Redefine splice() flags for crappy uclibc versions
Diffstat (limited to 'libs/nixio')
-rw-r--r-- | libs/nixio/src/splice.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/libs/nixio/src/splice.c b/libs/nixio/src/splice.c index db215efb1..0704dfd24 100644 --- a/libs/nixio/src/splice.c +++ b/libs/nixio/src/splice.c @@ -59,6 +59,15 @@ ssize_t splice(int __fdin, __off64_t *__offin, int __fdout, return -1; #endif } + +#undef SPLICE_F_MOVE +#undef SPLICE_F_NONBLOCK +#undef SPLICE_F_MORE + +#define SPLICE_F_MOVE 1 +#define SPLICE_F_NONBLOCK 2 +#define SPLICE_F_MORE 4 + #endif /* __UCLIBC__ */ /** |