Fixed Windows MinGW building

This commit is contained in:
MihailRis 2022-03-12 23:14:45 +03:00 • committed by GitHub
parent b9fff9d1ac
commit d2024e5257
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 497 additions and 7 deletions

View file

@ -8,7 +8,13 @@
#include "../files/WorldFiles.h"
#include "ChunksLoader.h"
#include <iostream>
#ifdef _WIN32
#define _WIN32_WINNT 0x0501
#include "../_mingw_threads/mingw.thread.h"
#else
#include <thread>
#endif
#define MIN_SURROUNDING 9