On 05/10/15 11:05 AM, wm4 wrote:
+#if CONFIG_OPENSSL && HAVE_POLL_H && HAVE_PTHREADS
> >+#include <pthread.h>
> >+#include <signal.h>
> >+#include <errno.h>
> >+#define BLOCK_SIGPIPE \
>
>Why an ugly macro rather than two function calls?
It requires at least remembering the previous signal state (the oldset
variable). Since sigset_t is not necessarily always available (win32,
OS/2 at least), I thought it wouldn't make much of a difference whether
an ugly macro or an ugly macro is used.


OS/2 does have sigset_t but on the other hand, does not have poll.h, so perhaps
+#if CONFIG_OPENSSL && HAVE_PTHREADS
Compile does succeed here with --enable-openssl (no tls port here) with and without your patches applied and the above change as well.
Dave
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to