Re: [Qemu-devel] [PATCH] coroutine-sigaltstack.c: Use stack_t, not struct sigaltstack

2012-11-27 Thread Kevin Wolf
Am 12.11.2012 13:57, schrieb Stefan Hajnoczi: > On Sat, Nov 10, 2012 at 10:47 PM, Peter Maydell > wrote: >> 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.

Re: [Qemu-devel] [PATCH] coroutine-sigaltstack.c: Use stack_t, not struct sigaltstack

2012-11-12 Thread Stefan Hajnoczi
On Sat, Nov 10, 2012 at 10:47 PM, Peter Maydell wrote: > 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 > --- > Tested on L

[Qemu-devel] [PATCH] coroutine-sigaltstack.c: Use stack_t, not struct sigaltstack

2012-11-10 Thread Peter Maydell
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 --- Tested on Linux and MacOSX. coroutine-sigaltstack.c | 4 ++-- 1 file changed,