qt5base-lts/mkspecs/win32-g++
Thiago Macieira 684c9b82b9 QDateTime: fix build with MinGW: need unistd.h very early
qobject.h has #include <chrono>, which #includes <ctime>, which includes
<time.h>.

datetime.cpp:2621:23: error: 'localtime_r' was not declared in this scope; did you mean 'localtime_s'?

Pick-to: 6.2
Change-Id: I2bbf422288924c198645fffd16a922719c4ce7d4
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
2021-09-29 13:18:21 -07:00
..
qmake.conf
qplatformdefs.h QDateTime: fix build with MinGW: need unistd.h very early 2021-09-29 13:18:21 -07:00