Fix windows compilation issues
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
#include <windows.h>
|
||||
#include <process.h>
|
||||
|
||||
struct bh_thread_s
|
||||
@@ -19,7 +20,11 @@ struct bh_mutex_s
|
||||
|
||||
struct bh_cond_s
|
||||
{
|
||||
void *handle;
|
||||
CRITICAL_SECTION lock;
|
||||
HANDLE wait;
|
||||
HANDLE done;
|
||||
int waiting;
|
||||
int signals;
|
||||
};
|
||||
|
||||
int bh_thread_init_base(bh_thread_t *thread,
|
||||
|
||||
Reference in New Issue
Block a user