From 497a2dd02c3e7191552fc550c888eca4cd952ef7 Mon Sep 17 00:00:00 2001 From: Bernard Xiong Date: Fri, 29 Jun 2018 12:18:37 +0800 Subject: [PATCH] [Kernel] Remove the restriction of waitqueue Remove the restriction of RT_USING_POSIX for waitqueue structure. --- include/rtdef.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/include/rtdef.h b/include/rtdef.h index 891c5a682..642ea0e72 100644 --- a/include/rtdef.h +++ b/include/rtdef.h @@ -862,7 +862,6 @@ struct rt_device_ops rt_err_t (*control)(rt_device_t dev, int cmd, void *args); }; -#if defined(RT_USING_POSIX) /** * WaitQueue structure */ @@ -872,7 +871,6 @@ struct rt_wqueue rt_list_t waiting_list; }; typedef struct rt_wqueue rt_wqueue_t; -#endif /** * Device structure -- GitLab