[libvirt] [PATCH 4/6] Move MIN macro to util.h so that others can use it

Eric Blake eblake at redhat.com
Fri Apr 16 19:49:10 UTC 2010


On 04/16/2010 11:01 AM, Jiri Denemark wrote:
> ---
>  src/util/util.c |    4 ----
>  src/util/util.h |    4 ++++
>  2 files changed, 4 insertions(+), 4 deletions(-)
> 
> +++ b/src/util/util.h
> @@ -32,6 +32,10 @@
>  # include <sys/select.h>
>  # include <sys/types.h>
>  
> +# ifndef MIN
> +#  define MIN(a, b) ((a) < (b) ? (a) : (b))
> +# endif

ACK.

-- 
Eric Blake   eblake at redhat.com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 619 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20100416/46cd9745/attachment-0001.sig>


More information about the libvir-list mailing list