[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: [libvirt] [PATCH] osx: fix broken enum typedef declaration breaking compilation on osx
- From: Justin Clift <jclift redhat com>
- To: Justin Clift <jclift redhat com>
- Cc: libvir-list redhat com
- Subject: Re: [libvirt] [PATCH] osx: fix broken enum typedef declaration breaking compilation on osx
- Date: Mon, 14 Feb 2011 22:32:25 +1100
On 14/02/2011, at 10:26 PM, Justin Clift wrote:
> As pointed out by Daniel Berrange, this broken enum declaration was the cause of
> "duplicate symbol _virDomainQemuMonitorCommandFlags ..." errors on OSX.
> ---
> include/libvirt/libvirt-qemu.h | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/include/libvirt/libvirt-qemu.h b/include/libvirt/libvirt-qemu.h
> index 9257c2f..f172eff 100644
> --- a/include/libvirt/libvirt-qemu.h
> +++ b/include/libvirt/libvirt-qemu.h
> @@ -20,7 +20,7 @@
> extern "C" {
> # endif
>
> -enum {
> +typedef enum {
> VIR_DOMAIN_QEMU_MONITOR_COMMAND_DEFAULT = 0,
> VIR_DOMAIN_QEMU_MONITOR_COMMAND_HMP = (1 << 0), /* cmd is in HMP */
> } virDomainQemuMonitorCommandFlags;
> --
> 1.7.4.1
NACK with prejudice, Jirka's already submitted the same thing. :)
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]