Apply Randrianasulu's fix to thread.cpp, fixes building in Termux, closes #4753.
This commit is contained in:
@@ -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 *
|
||||
|
Reference in New Issue
Block a user