From 8a2c1a2471543505cc2311e5ccd38335160ed080 Mon Sep 17 00:00:00 2001 From: Wenyong Huang Date: Wed, 7 Sep 2022 13:50:11 +0800 Subject: [PATCH] Fix build error on alios platform (#1459) Add the definition of `korp_sem` in platform_internal.h. --- core/shared/platform/alios/platform_internal.h | 1 + 1 file changed, 1 insertion(+) diff --git a/core/shared/platform/alios/platform_internal.h b/core/shared/platform/alios/platform_internal.h index 07b8f75e..ac9fb5ca 100644 --- a/core/shared/platform/alios/platform_internal.h +++ b/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;