aboutsummaryrefslogtreecommitdiffstats
path: root/src/winextras/winshobjidl_p.h
diff options
context:
space:
mode:
authorJonathan Liu <net147@gmail.com>2013-10-23 23:54:17 +1100
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-10-23 15:50:02 +0200
commitcb48be07f6005f94d893f3afb4e8849c03c67e2b (patch)
tree8ed8061899f9149b305619d398d01d317cae739b /src/winextras/winshobjidl_p.h
parent429abebf7728d073b93a5726297ee8673cc38bd1 (diff)
Fix MinGW-w64 GCC 4.8.2 compilation
Change-Id: Ia7d3a0cfa38b2cc046c18c8e5a8ca49877c73088 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
Diffstat (limited to 'src/winextras/winshobjidl_p.h')
-rw-r--r--src/winextras/winshobjidl_p.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/winextras/winshobjidl_p.h b/src/winextras/winshobjidl_p.h
index 602a4bc..7d1085d 100644
--- a/src/winextras/winshobjidl_p.h
+++ b/src/winextras/winshobjidl_p.h
@@ -244,6 +244,8 @@ public:
#if (defined _MSC_VER && _MSC_VER < 1600) || defined(Q_CC_MINGW)
+# if !defined(__MINGW64_VERSION_MAJOR) || !defined(__MINGW64_VERSION_MINOR) || __MINGW64_VERSION_MAJOR * 100 + __MINGW64_VERSION_MINOR < 301
+
typedef struct SHARDAPPIDINFOLINK
{
IShellLink *psl; // An IShellLink instance that when launched opens a recently used item in the specified
@@ -252,6 +254,8 @@ typedef struct SHARDAPPIDINFOLINK
PCWSTR pszAppID; // The id of the application that should be associated with this recent doc.
} SHARDAPPIDINFOLINK;
+# endif // !defined(__MINGW64_VERSION_MAJOR) || !defined(__MINGW64_VERSION_MINOR) || __MINGW64_VERSION_MAJOR * 100 + __MINGW64_VERSION_MINOR < 301
+
#endif
#endif // WINSHOBJIDL_P_H