build: Use custom jthread implementation if standard one is not available

This commit is contained in:
WerWolv
2023-11-02 20:21:38 +01:00
parent eefdbe7ef1
commit 407ec1ceb6
11 changed files with 37 additions and 10 deletions

View File

@@ -8,9 +8,9 @@
#include <filesystem>
#include <thread>
#include <jthread.hpp>
#if defined(OS_WEB)
#include <jthread.hpp>
#include <emscripten.h>
#endif