On 11/18/2013 10:54 AM, Doug Goldstein wrote: > Added a macro similar to the GLib's GLIB_CHECK_VERSION so that one can > simply do something like: > > #if LIBVIR_CHECK_VERSION(1,1,3) > /* Call function here that appeared in 1.1.3 and newer */ > virSomeNewFunction(); > #endif > --- > v3: rename from LIBVIRT_CHECK_VERSION to LIBVIR_CHECK_VERSION > v2: Change from Linux kernel style macro to GLib style macro > --- > include/libvirt/libvirt.h.in | 16 ++++++++++++++++ > 1 file changed, 16 insertions(+) ACK. -- Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org
Attachment:
signature.asc
Description: OpenPGP digital signature
-- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list