]> git.proxmox.com Git - qemu.git/commit
coroutine-sigaltstack.c: Use stack_t, not struct sigaltstack
authorPeter Maydell <peter.maydell@linaro.org>
Sat, 10 Nov 2012 21:47:52 +0000 (21:47 +0000)
committerKevin Wolf <kwolf@redhat.com>
Fri, 30 Nov 2012 10:33:24 +0000 (11:33 +0100)
commit2ad2210a7d2483c4c98423ebd59fad87c6124096
treec99333605d3549c7defb1f197219273dc3383016
parente3980e28bb888bf643054770452998d1b4319609
coroutine-sigaltstack.c: Use stack_t, not struct sigaltstack

Use the POSIX-specified stack_t type as the argument to sigaltstack()
rather than the legacy struct sigaltstack. This allows us to compile
on MacOSX with --with-coroutine=sigaltstack.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
coroutine-sigaltstack.c