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

Doug Goldstein cardoe at cardoe.com
Mon Nov 18 22:44:07 UTC 2013


---
 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




More information about the libvir-list mailing list