]> git.ipfire.org Git - thirdparty/libvirt.git/commit
domsuspend: Fix warning on mingw build
authorAndrea Bolognani <abologna@redhat.com>
Wed, 10 Feb 2016 18:44:01 +0000 (19:44 +0100)
committerAndrea Bolognani <abologna@redhat.com>
Fri, 12 Feb 2016 15:36:34 +0000 (16:36 +0100)
commit9a457be18b4f2f777e49482d9861fa6728ee900a
treedff8983b67e6c3794e49a7ee47d923d767000bab
parent611a278fa46d3136b7fe5c6ab05e660ca3c8fdf4
domsuspend: Fix warning on mingw build

Commit d82170d introduced a workaround for domtop: in that example
program, we define a symbol called ERROR for our own use, but since
a symbol with the same name is already defined in one of mingw's
header files, we get a warning when using that compiler.

domsuspend defines the same problematic symbol, so the workaround
has been copied over.
examples/domsuspend/suspend.c