Redefine splice() flags for crappy uclibc versions
This commit is contained in:
parent
af4c152ed3
commit
8546622f65
1 changed files with 9 additions and 0 deletions
|
@ -59,6 +59,15 @@ ssize_t splice(int __fdin, __off64_t *__offin, int __fdout,
|
||||||
return -1;
|
return -1;
|
||||||
#endif
|
#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__ */
|
#endif /* __UCLIBC__ */
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in a new issue