Explorar el Código

Fix build error on alios platform (#1459)

Add the definition of `korp_sem` in platform_internal.h.
Wenyong Huang hace 3 años
padre
commit
8a2c1a2471
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  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;