summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel P. Berrange <berrange@redhat.com>2013-09-09 09:54:27 +0100
committerDaniel P. Berrange <berrange@redhat.com>2013-09-09 16:42:01 +0100
commit074e81518357d931bcacbc4a99b44c9bb70c0472 (patch)
tree95d8109edb58ce42c6c8f69cb1ddadf8c55e339f
parentbbc5396ebc701b11acdb940a3cecdcce133a19ee (diff)
downloadlibvirt-python-split-074e81518357d931bcacbc4a99b44c9bb70c0472.zip
libvirt-python-split-074e81518357d931bcacbc4a99b44c9bb70c0472.tar.gz
libvirt-python-split-074e81518357d931bcacbc4a99b44c9bb70c0472.tar.xz
Import STREQ macro from libvirt
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
-rw-r--r--libvirt-override.c2
1 files changed, 2 insertions, 0 deletions
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