diff options
author | Kai Koehne <kai.koehne@qt.io> | 2016-11-04 12:38:50 +0100 |
---|---|---|
committer | Kai Koehne <kai.koehne@qt.io> | 2016-11-08 15:30:33 +0000 |
commit | aa7e764058cb820c86341c91360976b6bddfd4da (patch) | |
tree | f103a7fbe9d957bb5f30a39c6178067d7428d02f /src/corelib/io/qstandardpaths_win.cpp | |
parent | ef5b4d2ada000dcbd239b1cedfb38104e3f40d29 (diff) |
MinGW: Explicitly define NTDDI_VERSION
Define NTDDI_VERSION, just like _WIN32_WINNT, to be Windows Vista.
Usually NTDDI_VERSION is automatically set by MinGW headers to the value
that matches _WIN32_WINNT. However, for precompiled headers the inclusion
order is that _WIN32_WINNT is set _after_ the relevant MinGW header is
parsed, so this can fail.
The alternative would be to set _WIN32_WINNT via a compiler flag, e.g.
in the mkspecs.
Change-Id: Id59e7083f0d3e00491b54e87647c6c9fabb99795
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/corelib/io/qstandardpaths_win.cpp')
0 files changed, 0 insertions, 0 deletions