[libvirt-python 08/18] virTypedParams* API appeared in 1.0.2

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



---
 libvirt-override.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/libvirt-override.c b/libvirt-override.c
index 816ef01..f7c37a2 100644
--- a/libvirt-override.c
+++ b/libvirt-override.c
@@ -254,7 +254,7 @@ cleanup:
     return NULL;
 }
 
-
+#if LIBVIR_CHECK_VERSION(1,0,2)
 typedef struct {
     const char *name;
     int type;
@@ -406,6 +406,7 @@ cleanup:
     virTypedParamsFree(params, n);
     return ret;
 }
+#endif /* LIBVIR_CHECK_VERSION(1,0,2) */
 
 
 /*
-- 
1.8.3.2

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]