瀏覽代碼

Fix build error on alios platform (#1459)

Add the definition of `korp_sem` in platform_internal.h.
Wenyong Huang 3 年之前
父節點
當前提交
8a2c1a2471
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      core/shared/platform/alios/platform_internal.h

+ 1 - 0
core/shared/platform/alios/platform_internal.h

@@ -30,6 +30,7 @@ typedef aos_task_t korp_thread;
 typedef korp_thread *korp_tid;
 typedef aos_task_t *aos_tid_t;
 typedef aos_mutex_t korp_mutex;
+typedef aos_sem_t korp_sem;
 
 struct os_thread_wait_node;
 typedef struct os_thread_wait_node *os_thread_wait_list;