pipe: replace PIPE_BUF macro pa pa_pipe_buf call

This should help portability to platforms that lack PIPE_BUF. Based on a
patch from Samuel Thibault.

See ticket #546
This commit is contained in:
Lennart Poettering 2009-08-01 01:59:58 +02:00
parent 0113e7282c
commit e5c2256e36
4 changed files with 23 additions and 4 deletions

View file

@ -236,4 +236,7 @@ char **pa_split_spaces_strv(const char *s);
char* pa_maybe_prefix_path(const char *path, const char *prefix);
/* Returns size of the specified pipe or 4096 on failure */
size_t pa_pipe_buf(int fd);
#endif