Fix MinGW-w64 GCC 4.6.3 compilation
Several IShellLibrary constants and the COMDLG_FILTERSPEC struct are already defined in newer versions of the MinGW-w64 headers. Change-Id: I614b35c835123484aeeb4e61e0bae24261584da0 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
This commit is contained in:
parent
8cba00ebf5
commit
6960fb2f6e
@ -72,6 +72,8 @@
|
||||
|
||||
#ifdef Q_CC_MINGW /* Add missing declarations for MinGW */
|
||||
|
||||
#ifndef __IShellLibrary_FWD_DEFINED__
|
||||
|
||||
/* Constants obtained by running the below stream operator for
|
||||
* CLSID, IID on the constants in the Windows SDK libraries. */
|
||||
|
||||
@ -87,8 +89,6 @@ static const IID IID_IFileDialogEvents = {0x973510db, 0x7d7f, 0x452b,{0x89, 0x
|
||||
static const CLSID CLSID_FileOpenDialog = {0xdc1c5a9c, 0xe88a, 0x4dde, {0xa5, 0xa1, 0x60, 0xf8, 0x2a, 0x20, 0xae, 0xf7}};
|
||||
static const CLSID CLSID_FileSaveDialog = {0xc0b4e2f3, 0xba21, 0x4773,{0x8d, 0xba, 0x33, 0x5e, 0xc9, 0x46, 0xeb, 0x8b}};
|
||||
|
||||
#ifndef __IShellLibrary_FWD_DEFINED__
|
||||
|
||||
typedef struct _COMDLG_FILTERSPEC
|
||||
{
|
||||
LPCWSTR pszName;
|
||||
|
Loading…
Reference in New Issue
Block a user