Mercurial > libavformat.hg
diff os_support.c @ 1799:0dc3a767943d libavformat
Make sure we don't try to emulate poll() when it's there if --disable-ffserver... 10l
author | mmu_man |
---|---|
date | Thu, 15 Feb 2007 15:39:39 +0000 |
parents | d1e61f4d02cd |
children | c0c0f19f0db6 |
line wrap: on
line diff
--- a/os_support.c Thu Feb 15 13:32:06 2007 +0000 +++ b/os_support.c Thu Feb 15 15:39:39 2007 +0000 @@ -103,6 +103,7 @@ } #endif /* !defined(HAVE_INET_ATON) && defined(CONFIG_NETWORK) */ +#ifdef CONFIG_FFSERVER #ifndef HAVE_SYS_POLL_H int poll(struct pollfd *fds, nfds_t numfds, int timeout) { @@ -161,7 +162,6 @@ return rc; } - +#endif /* HAVE_SYS_POLL_H */ +#endif /* CONFIG_FFSERVER */ -#endif /* HAVE_SYS_POLL_H */ -