|
From: | Pierre d'Herbemont |
Subject: | [Qemu-devel] [Patch] siginfo fix for Darwin/Mac OS X |
Date: | Wed, 24 Jan 2007 21:27:36 +0100 |
Hi,This patch is an attempt to suppress the anonymous "struct siginfo" trick, as it doesn't work on darwin since struct siginfo isn't defined, and stay anonymous.
Here I use siginfo_t, assuming that it is defined on most platform. But feel free to add a "typedef struct siginfo siginfo_t;" for your platform if needed, or some other trick.
(Variation of this hack is possible as "struct __siginfo" is valid on darwin. Feel free to use)
Pierre.
siginfo_fix.diff.txt
Description: Text document
[Prev in Thread] | Current Thread | [Next in Thread] |