vss-win32: Fix build with mingw64-headers-3.1.0
authorTomoki Sekiyama <tomoki.sekiyama@hds.com>
Wed, 26 Mar 2014 18:28:51 +0000 (14:28 -0400)
committerMichael Roth <mdroth@linux.vnet.ibm.com>
Mon, 7 Apr 2014 19:39:19 +0000 (14:39 -0500)
commit9854202b57e0ac197cf2bee3d7fbf79ba58f16c5
treecbfd5992ed7c360c110e5fda9525dc7439369b87
parent577a67234dd7bef8b0443804f3a81977072f8657
vss-win32: Fix build with mingw64-headers-3.1.0

In mingw64-headers-3.1.0, definition of _com_issue_error() is added, which
conflicts with definition in install.cpp. This adds version checking for
mingw headers to disable the definition when the headers>=3.1 is used.

Signed-off-by: Tomoki Sekiyama <tomoki.sekiyama@hds.com>
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
qga/vss-win32/install.cpp