Fix missing MinGW thread includes

This commit is contained in:
Jonathan G Rennison 2021-04-05 20:04:53 +01:00
parent 2a13c8623c
commit f94eb286f2

View File

@ -22,6 +22,11 @@
#include <mutex> #include <mutex>
#include <thread> #include <thread>
#include <vector> #include <vector>
#if defined(__MINGW32__)
#include "../3rdparty/mingw-std-threads/mingw.mutex.h"
#include "../3rdparty/mingw-std-threads/mingw.condition_variable.h"
#include "../3rdparty/mingw-std-threads/mingw.thread.h"
#endif
extern std::string _ini_videodriver; extern std::string _ini_videodriver;
extern std::vector<Dimension> _resolutions; extern std::vector<Dimension> _resolutions;