aboutsummaryrefslogtreecommitdiff
path: root/include/bh/internal/thread.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/bh/internal/thread.h')
-rw-r--r--include/bh/internal/thread.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/include/bh/internal/thread.h b/include/bh/internal/thread.h
index fe2a9c8..34e2f76 100644
--- a/include/bh/internal/thread.h
+++ b/include/bh/internal/thread.h
@@ -1,14 +1,14 @@
-#ifndef BHLIB_INTERNAL_THREAD_H
-#define BHLIB_INTERNAL_THREAD_H
+#ifndef BH_INTERNAL_THREAD_H
+#define BH_INTERNAL_THREAD_H
#include <bh/thread.h>
#include "queue.h"
-#define BH_THREAD_DONE (1 << 8)
+#define BH_THREAD_DONE 0x0100
-#if defined(BHLIB_USE_PTHREAD)
+#if defined(BH_USE_PTHREAD)
#include "thread_posix.h"
-#elif defined(BHLIB_USE_WINTHREAD)
+#elif defined(BH_USE_WINTHREAD)
#include "thread_win.h"
#else
#include "thread_null.h"
@@ -42,4 +42,4 @@ void bh_task_destroy(bh_task_t *task);
void bh_thread_pool_worker(void *arg);
-#endif /* BHLIB_INTERNAL_THREAD_H */
+#endif /* BH_INTERNAL_THREAD_H */