compat: Add sigwait dummy for NaCl
authorJulian Scheel <julian@jusst.de>
Wed, 22 Mar 2017 08:58:54 +0000 (09:58 +0100)
committerJean-Baptiste Kempf <jb@videolan.org>
Tue, 28 Mar 2017 13:54:00 +0000 (15:54 +0200)
commitadb9c18776499857ddf74d044674317101967c67
tree61bdbfb9c2a2eb3ef1ffecdee6902fe473d70d76
parent6afc4594c75a400deb8e4a33d619d82e91df3cd9
compat: Add sigwait dummy for NaCl

Implement a sigwait dummy for NaCl, which relies on:
- NaCl does never send SIGPIPE to to apps (see
https://codereview.chromium.org/288063004/)
- VLC uses sigwait exclusively to wait for SIGPIPE

If sigwait is asked to wait for anything else than SIGPIPE it will run
into an assertion failure, so that breakage would not be silent.

Signed-off-by: Julian Scheel <julian@jusst.de>
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
compat/sigwait.c [new file with mode: 0644]
configure.ac
include/vlc_fixups.h