From 5a7b542bbd6d79a049b4a1ab5fe3e284fac46e9a Mon Sep 17 00:00:00 2001 From: ths Date: Wed, 31 Jan 2007 12:16:51 +0000 Subject: siginfo fix for Darwin/Mac OS X, by Pierre d'Herbemont. git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2369 c046a42c-6fe2-441c-8c8c-71466251a162 --- target-i386/cpu.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'target-i386') diff --git a/target-i386/cpu.h b/target-i386/cpu.h index 4296093..70a1cac 100644 --- a/target-i386/cpu.h +++ b/target-i386/cpu.h @@ -628,8 +628,7 @@ void cpu_x86_frstor(CPUX86State *s, uint8_t *ptr, int data32); /* you can call this signal handler from your SIGBUS and SIGSEGV signal handlers to inform the virtual CPU of exceptions. non zero is returned if the signal was handled by the virtual CPU. */ -struct siginfo; -int cpu_x86_signal_handler(int host_signum, struct siginfo *info, +int cpu_x86_signal_handler(int host_signum, void *pinfo, void *puc); void cpu_x86_set_a20(CPUX86State *env, int a20_state); -- cgit v1.1