]> xenbits.xensource.com Git - unikraft/libs/newlib.git/commit
bits/signal.h: Adapt to unikraft
authorCharalampos Mainas <Charalampos.Mainas@neclab.eu>
Wed, 4 Sep 2019 10:25:36 +0000 (12:25 +0200)
committerCostin Lupu <costin.lupu@cs.pub.ro>
Mon, 9 Sep 2019 12:39:57 +0000 (15:39 +0300)
commit90a1211818e15793c99e3d87c07f0692887381f3
treea18a60bbc28c60f1a1e444ac2abb15b93f5e884a
parent4baf1250050e90b82e708124bbf15eec1a222ef9
bits/signal.h: Adapt to unikraft

struct sigaltstack is already defined from newlib's sys/signal.h which
is included from ucontext.h. To avoid redinition error while compiling,
struct sigaltstack definition is disabled. We also disable the SA_* and SIG*
definitions since they are already defined in newlib's origin code.

Signed-off-by: Charalampos Mainas <Charalampos.Mainas@neclab.eu>
Reviewed-by: Costin Lupu <costin.lupu@cs.pub.ro>
musl-imported/arch/x86_64/bits/signal.h