Apply Randrianasulu's fix to thread.cpp, fixes building in Termux, closes #4753.

This commit is contained in:
OBattler
2024-08-26 08:00:21 +02:00
parent ba859d7351
commit 7683721870

View File

@@ -5,12 +5,16 @@
#include <86box/plat.h>
#include <86box/thread.h>
#if !defined(__unix__)
struct event_cpp11_t {
std::condition_variable cond;
std::mutex mutex;
bool state = false;
};
#endif
extern "C" {
thread_t *