• E
    build: prefer WIN32 over __MINGW32__ checks · 9f87b631
    Eric Blake 提交于
    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.
    9f87b631
console.c 5.8 KB