]> git.ipfire.org Git - thirdparty/libvirt.git/commit
build: Solve mingw build clash with DATADIR
authorEric Blake <eblake@redhat.com>
Wed, 31 Jul 2019 18:48:54 +0000 (13:48 -0500)
committerEric Blake <eblake@redhat.com>
Thu, 8 Aug 2019 01:21:05 +0000 (20:21 -0500)
commit8a8e86564ac22792d9abcd33c16c25493ca4ab2e
tree90aff529070de3a39e036589cf34aca43ff6543a
parentca4e86cac2a9ff987ab8776850cfe15e1211fa8f
build: Solve mingw build clash with DATADIR

Commit fed58d83 was a hack to fix a mingw build failure due to header
inclusion order resulting in a clash over the use of DATADIR,
repeating a trick made several other times in the past.  Better is to
revert that, and instead use pragmas to avoid the clash in the first
place, regardless of header ordering, solving it for everyone.

Signed-off-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
src/conf/checkpoint_conf.c
src/util/viratomic.h