"Daniel P. Berrange" <berrange@xxxxxxxxxx> 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 libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list