Add 3rd party mingw-std-threads headers to fix MinGW compilation

This commit is contained in:
Jonathan G Rennison
2019-04-10 17:35:43 +01:00
parent 58c27ab59e
commit f887b12be2
16 changed files with 2035 additions and 1 deletions

View File

@@ -15,6 +15,9 @@
#include "debug.h"
#include <system_error>
#include <thread>
#if defined(__MINGW32__)
#include "3rdparty/mingw-std-threads/mingw.thread.h"
#endif
/** Signal used for signalling we knowingly want to end the thread. */
class OTTDThreadExitSignal { };