[libvirt] [PATCHv2] qemu: simplify use of HAVE_YAJL

Eric Blake eblake at redhat.com
Wed Oct 26 17:58:14 UTC 2011


On 10/23/2011 09:17 PM, Wen Congyang wrote:
>>
>> +#ifndef HAVE_YAJL
>> +    if (qemuCapsGet(info->flags, QEMU_CAPS_MONITOR_JSON))
>> +        qemuCapsSet(flags, QEMU_CAPS_MONITOR_JSON);
>> +#endif
>
> make syntax-check will fail here.
> It should be:
> # ifndef HAVE_YAJL
> ...
> # endif

Yep, I noticed that (I had sent my mail in parallel with my make run, 
and fixed it immediately afterwards).

>
> Ack with the nits fixed.

Thanks; pushed.

-- 
Eric Blake   eblake at redhat.com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org




More information about the libvir-list mailing list