]> git.ipfire.org Git - thirdparty/libvirt.git/commit
virhostuptime: Wrap virHostGetBootTimeProcfs() call in an ifdef
authorMichal Privoznik <mprivozn@redhat.com>
Thu, 14 Nov 2019 15:42:51 +0000 (16:42 +0100)
committerMichal Privoznik <mprivozn@redhat.com>
Thu, 14 Nov 2019 15:42:51 +0000 (16:42 +0100)
commit1b0de07f41bbe0d23ab96b604428ae55fd22aec0
treeffe026cc52a1faaab35932fb8eabc7c67e4b5179
parentffd151d17be1d99794bcd972bcc568dc73c8bf64
virhostuptime: Wrap virHostGetBootTimeProcfs() call in an ifdef

The virHostGetBootTimeProcfs() function is defined only for Linux
and therefore it's only call should also be done if we're on
Linux.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
src/util/virhostuptime.c