summaryrefslogtreecommitdiff
path: root/sal
diff options
context:
space:
mode:
authorLuboš Luňák <l.lunak@suse.cz>2012-08-21 10:24:58 +0200
committerLuboš Luňák <l.lunak@suse.cz>2012-08-21 10:28:36 +0200
commit95b26a37eec7800a337f4522c9235f6e6306de32 (patch)
tree217cdbd6fd93339e7fe807873f51258777ce315a /sal
parent7af4168b4f1212de0270d043f7de7143ea671aff (diff)
mingw doesn't know __uuidof
Copied from fpicker/source/win32/filepicker/comptr.hxx, which otherwise seems to be the same file. Change-Id: I51ca96c1280e75f9318fcbc74997b2bf755fff95
Diffstat (limited to 'sal')
-rw-r--r--sal/inc/systools/win32/comptr.hxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/sal/inc/systools/win32/comptr.hxx b/sal/inc/systools/win32/comptr.hxx
index fe7b651b3f8d..7ef5123f3ac5 100644
--- a/sal/inc/systools/win32/comptr.hxx
+++ b/sal/inc/systools/win32/comptr.hxx
@@ -174,12 +174,14 @@ class ComPtr
}
}
+#ifndef __MINGW32__
//---------------------------------------------------------------------
template< class T_QUERYINTERFACE >
HRESULT query(T_QUERYINTERFACE** pQuery)
{
return m_pInterface->QueryInterface(__uuidof(T_QUERYINTERFACE), (void**)pQuery);
}
+#endif
//---------------------------------------------------------------------
HRESULT query(REFIID rIID ,