Add internal configuration file, add missing includes, rename some options
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
#ifndef BH_INTERNAL_THREAD_H
|
||||
#define BH_INTERNAL_THREAD_H
|
||||
|
||||
#include "bh.h"
|
||||
#include <bh/thread.h>
|
||||
#include "queue.h"
|
||||
|
||||
@@ -8,9 +9,9 @@
|
||||
|
||||
#define BH_MAX_TLS 32
|
||||
|
||||
#if defined(BH_USE_PTHREAD)
|
||||
#if defined(BH_PLATFORM_POSIX) && defined(BH_PLATFORM_THREADS)
|
||||
#include "thread_posix.h"
|
||||
#elif defined(BH_USE_WINTHREAD)
|
||||
#elif defined(BH_PLATFORM_WIN) && defined(BH_PLATFORM_THREADS)
|
||||
#include "thread_win.h"
|
||||
#else
|
||||
#include "thread_null.h"
|
||||
|
||||
Reference in New Issue
Block a user