summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel P. Berrange <berrange@redhat.com>2013-11-12 18:21:48 +0000
committerDaniel P. Berrange <berrange@redhat.com>2013-11-22 14:44:47 +0000
commit5ae7496713326c6b49dd6ae97ee5796dccbccf9c (patch)
tree5cdb6dc31912fb75348a721aaebf90f3794ff257
parent087721d59027c801ec8c9dfe89920bb451abf246 (diff)
downloadlibvirt-python-v8-5ae7496713326c6b49dd6ae97ee5796dccbccf9c.tar.gz
libvirt-python-v8-5ae7496713326c6b49dd6ae97ee5796dccbccf9c.tar.xz
libvirt-python-v8-5ae7496713326c6b49dd6ae97ee5796dccbccf9c.zip
Add decl of MIN macro
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
-rw-r--r--libvirt-utils.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/libvirt-utils.h b/libvirt-utils.h
index bec7346..aed64e6 100644
--- a/libvirt-utils.h
+++ b/libvirt-utils.h
@@ -24,4 +24,8 @@
# define STREQ(a,b) (strcmp(a,b) == 0)
+# ifndef MIN
+# define MIN(a,b) (((a) < (b)) ? (a) : (b))
+# endif
+
#endif /* __LIBVIRT_UTILS_H__ */