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

[libvirt] [PATCH libvirt-python 08/17] Import STREQ macro from libvirt



From: "Daniel P. Berrange" <berrange redhat com>

Signed-off-by: Daniel P. Berrange <berrange redhat com>
---
 libvirt-override.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/libvirt-override.c b/libvirt-override.c
index a8cf71d..6df7db0 100644
--- a/libvirt-override.c
+++ b/libvirt-override.c
@@ -34,6 +34,8 @@ extern void initlibvirtmod(void);
 extern void initcygvirtmod(void);
 #endif
 
+#define STREQ(a,b) (strcmp(a,b) == 0)
+
 #if 0
 # define DEBUG_ERROR 1
 #endif
-- 
1.8.3.1


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