]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Don't use undocumented __isleap macro
authorDaniel P. Berrange <berrange@redhat.com>
Thu, 1 Dec 2011 13:28:44 +0000 (13:28 +0000)
committerDaniel P. Berrange <berrange@redhat.com>
Thu, 1 Dec 2011 13:28:44 +0000 (13:28 +0000)
commitb0ed12276e3bfdf4a2818c28f3841107fb353952
treef6e69d3f772f7319ffce1fa785ff3b995687cbcc
parent7a79648532ee46f3dcfad0bce51e09f0fc9f322d
Don't use undocumented __isleap macro

The glibc time.h header has an undocumented __isleap macro
that we are using. Since it is undocumented & does not appear
on any other OS, stop using it and just define the macro in
libvirt code instead.

* src/util/virtime.c: Remove __isleap usage
src/util/virtime.c