|
From: | Paolo Bonzini |
Subject: | Re: [Qemu-devel] [PATCH 1/7] Add new macro QEMU_PACKED for packed C structures |
Date: | Tue, 30 Aug 2011 20:29:16 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:6.0) Gecko/20110816 Thunderbird/6.0 |
On 08/30/2011 07:57 PM, Blue Swirl wrote:
> > +#if defined(_WIN32) > +# define QEMU_PACKED __attribute__((gcc_struct, packed))Maybe we could also use gcc_struct also for non-win32?> +#else > +# define QEMU_PACKED __attribute__((packed)) > +#endif
Indeed. Paolo
[Prev in Thread] | Current Thread | [Next in Thread] |