From 8a383c585f337320a203e26c505b594c949d59e5 Mon Sep 17 00:00:00 2001 From: Kai Koehne Date: Thu, 19 Sep 2013 15:18:41 +0200 Subject: Require Windows Vista The structure FDAP is only available as Windows Vista, and MinGW-w64 do not actually define it if _WIN32_WINNT isn't set. Needed to fix compilation with latest MinGW-w64 headers (version 3). Change-Id: I566ea6bd4c3d8d5a495b644aedffb7de42a6d6e4 Reviewed-by: Friedemann Kleint --- src/plugins/platforms/windows/qwindowsdialoghelpers.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/plugins/platforms/windows') diff --git a/src/plugins/platforms/windows/qwindowsdialoghelpers.cpp b/src/plugins/platforms/windows/qwindowsdialoghelpers.cpp index 67c71349da..0ecbf44194 100644 --- a/src/plugins/platforms/windows/qwindowsdialoghelpers.cpp +++ b/src/plugins/platforms/windows/qwindowsdialoghelpers.cpp @@ -41,6 +41,8 @@ #define QT_NO_URL_CAST_FROM_STRING 1 +#define _WIN32_WINNT 0x0600 + #include "qwindowsdialoghelpers.h" #include "qwindowscontext.h" -- cgit v1.2.3