commit | 2ad2210a7d2483c4c98423ebd59fad87c6124096 | [log] [tgz] |
---|---|---|
author | Peter Maydell <peter.maydell@linaro.org> | Sat Nov 10 21:47:52 2012 +0000 |
committer | Kevin Wolf <kwolf@redhat.com> | Fri Nov 30 11:33:24 2012 +0100 |
tree | c99333605d3549c7defb1f197219273dc3383016 | |
parent | e3980e28bb888bf643054770452998d1b4319609 [diff] |
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>