Procházet zdrojové kódy

Fix build error on alios platform (#1459)

Add the definition of `korp_sem` in platform_internal.h.
Wenyong Huang před 3 roky
rodič
revize
8a2c1a2471
1 změnil soubory, kde provedl 1 přidání a 0 odebrání
  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 korp_thread *korp_tid;
 typedef aos_task_t *aos_tid_t;
 typedef aos_task_t *aos_tid_t;
 typedef aos_mutex_t korp_mutex;
 typedef aos_mutex_t korp_mutex;
+typedef aos_sem_t korp_sem;
 
 
 struct os_thread_wait_node;
 struct os_thread_wait_node;
 typedef struct os_thread_wait_node *os_thread_wait_list;
 typedef struct os_thread_wait_node *os_thread_wait_list;