"Daniel P. Berrange" <[email protected]> writes:

> +#define is_leap_year(y) \
> +    ((y) % 4 == 0 && ((y) % 100 != 0 || (y) % 400 == 0))

It seems odd to use a macro instead of a function for this.
-- 
Ben Pfaff 
http://benpfaff.org

--
libvir-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/libvir-list

Reply via email to