]> git.ipfire.org Git - thirdparty/libvirt.git/commit
build: prefer WIN32 over __MINGW32__ checks
authorEric Blake <eblake@redhat.com>
Mon, 3 May 2010 20:44:12 +0000 (14:44 -0600)
committerEric Blake <eblake@redhat.com>
Mon, 3 May 2010 22:03:24 +0000 (16:03 -0600)
commit9f87b631ce988d9c122c6321db9603d6a6bab93e
tree652e33b317ff73927f471eea8ff2003671148d90
parentc4157e52724015037733c8a78a379d4e24648073
build: prefer WIN32 over __MINGW32__ checks

WIN32 is always defined when __MINGW32__ is defined, but the
converse is not true.  WIN32 is more generic, if someone were
to ever attempt porting to a microsoft compiler.  This does
not affect Cygwin, which intentionally does not define WIN32.

* src/qemu/qemu_driver.c (qemuDomainGetBlockInfo): Use more
generic flag macro.
* src/storage/storage_backend.c
(virStorageBackendUpdateVolTargetInfoFD)
(virStorageBackendRunProgRegex): Likewise.
* tools/console.h (vshRunConsole): Likewise.
src/qemu/qemu_driver.c
src/storage/storage_backend.c
tools/console.c
tools/console.h