Redefine splice() flags for crappy uclibc versions

This commit is contained in:
Steven Barth 2009-06-15 19:11:38 +00:00
parent af4c152ed3
commit 8546622f65

View file

@ -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__ */
/**