On Tue, Jun 26, 2012 at 03:12:34PM +0300, Martin Storsjö wrote:
> --- a/libavformat/os_support.c
> +++ b/libavformat/os_support.c
> @@ -264,7 +264,7 @@ int ff_socket_nonblock(int socket, int enable)
>
> #if !HAVE_POLL_H
> -int poll(struct pollfd *fds, nfds_t numfds, int timeout)
> +int ff_poll(struct pollfd *fds, nfds_t numfds, int timeout)
> {
> --- a/libavformat/os_support.h
> +++ b/libavformat/os_support.h
> @@ -104,7 +104,8 @@ struct pollfd {
>
> -int poll(struct pollfd *fds, nfds_t numfds, int timeout);
> +int ff_poll(struct pollfd *fds, nfds_t numfds, int timeout);
> +#define poll ff_poll
It's not clear to me why you need this and the log message
does not help.
Diego
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel