1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-09-06 12:27:57 +00:00

threads in MinGW

This commit is contained in:
Zeno Rogue
2020-01-16 18:11:59 +01:00
parent 9444401ffa
commit b5d43fd480
4 changed files with 965 additions and 0 deletions

View File

@@ -426,9 +426,14 @@ extern "C" {
#include <new>
#if CAP_THREAD
#if WINDOWS
#include "mingw.thread.h"
#include "mingw.mutex.h"
#else
#include <thread>
#include <mutex>
#endif
#endif
#ifdef USE_UNORDERED_MAP
#include <unordered_map>