diff options
author | Daniel P. Berrange <berrange@redhat.com> | 2013-11-12 18:21:48 +0000 |
---|---|---|
committer | Daniel P. Berrange <berrange@redhat.com> | 2013-11-21 16:37:07 +0000 |
commit | ecf4429bd359f7ef68f28a2f8cf0fe9fb9c649ee (patch) | |
tree | 510df5e4cb7ad7fd4963e9e2db0ccc4e5fa1b398 /libvirt-utils.h | |
parent | ae1be0d511ce4c5a13a865d9fa1a48a0bcd9c56e (diff) | |
download | libvirt-python-v7-ecf4429bd359f7ef68f28a2f8cf0fe9fb9c649ee.tar.gz libvirt-python-v7-ecf4429bd359f7ef68f28a2f8cf0fe9fb9c649ee.tar.xz libvirt-python-v7-ecf4429bd359f7ef68f28a2f8cf0fe9fb9c649ee.zip |
Add decl of MIN macro
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Diffstat (limited to 'libvirt-utils.h')
-rw-r--r-- | libvirt-utils.h | 4 |
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__ */ |