mirror of https://github.com/xqemu/xqemu.git
Merge remote-tracking branch 'remotes/mdroth/qga-pull-2014-4-7' into staging
* remotes/mdroth/qga-pull-2014-4-7: vss-win32: Fix build with mingw64-headers-3.1.0 Makefile: add qga-vss-dll-obj-y to nested variables Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
This commit is contained in:
commit
e792933ce1
1
Makefile
1
Makefile
|
@ -133,6 +133,7 @@ dummy := $(call unnest-vars,, \
|
||||||
stub-obj-y \
|
stub-obj-y \
|
||||||
util-obj-y \
|
util-obj-y \
|
||||||
qga-obj-y \
|
qga-obj-y \
|
||||||
|
qga-vss-dll-obj-y \
|
||||||
block-obj-y \
|
block-obj-y \
|
||||||
block-obj-m \
|
block-obj-m \
|
||||||
common-obj-y \
|
common-obj-y \
|
||||||
|
|
|
@ -75,10 +75,13 @@ static void errmsg_dialog(DWORD err, const char *text, const char *opt = "")
|
||||||
|
|
||||||
#define chk(status) _chk(hr, status, "Failed to " #status, out)
|
#define chk(status) _chk(hr, status, "Failed to " #status, out)
|
||||||
|
|
||||||
|
#if !defined(__MINGW64_VERSION_MAJOR) || !defined(__MINGW64_VERSION_MINOR) || \
|
||||||
|
__MINGW64_VERSION_MAJOR * 100 + __MINGW64_VERSION_MINOR < 301
|
||||||
void __stdcall _com_issue_error(HRESULT hr)
|
void __stdcall _com_issue_error(HRESULT hr)
|
||||||
{
|
{
|
||||||
errmsg(hr, "Unexpected error in COM");
|
errmsg(hr, "Unexpected error in COM");
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
template<class T>
|
template<class T>
|
||||||
HRESULT put_Value(ICatalogObject *pObj, LPCWSTR name, T val)
|
HRESULT put_Value(ICatalogObject *pObj, LPCWSTR name, T val)
|
||||||
|
|
Loading…
Reference in New Issue