Fix compile with MinGW-W64 9.0.0: Redefinition of 'struct _FILE_ID_INFO'
QTBUG: https://bugreports.qt.io/browse/QTBUG-94031
Fixed by: https://codereview.qt-project.org/c/qt/qtbase/+/365167
While this change doesn't have Pick-to: 5.15
, I believe it is still useful for those trying to compile Qt 5.15.x with a newer compiler.
Fix compile with MinGW-W64 9.0.0: Redefinition of 'struct _FILE_ID_INFO'
With MinGW-W64 9.0.0, _WIN32_WINNT is set to Windows 10 by default, so
_FILE_ID_INFO is already defined.
Fixes: QTBUG-94031
Pick-to: 6.2
Change-Id: I0b29a4a1932425e1c4079aba6768fe94460c60af
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
(cherry picked from commit 4ddbfb68f858aee45cf7c33718f16b6c7b5beed7)
Edited by Johannes Kauffmann