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-22 15:58:05 +0000 |
commit | 5b5437349aa475c23b624e9b0f5919250cd0ab8c (patch) | |
tree | c11cc002eda977f38a5f0dfe917d0e3aa610a9b0 /libvirt-utils.h | |
parent | e169d3d8cf579b930e011b6f77ac6695220d536b (diff) | |
download | libvirt-python-v9-5b5437349aa475c23b624e9b0f5919250cd0ab8c.tar.gz libvirt-python-v9-5b5437349aa475c23b624e9b0f5919250cd0ab8c.tar.xz libvirt-python-v9-5b5437349aa475c23b624e9b0f5919250cd0ab8c.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__ */ |