summaryrefslogtreecommitdiff
path: root/src/object.c
diff options
context:
space:
mode:
authorguo <[email protected]>2022-12-16 18:38:28 +0800
committerGitHub <[email protected]>2022-12-16 18:38:28 +0800
commit68ca9f07a60ad5cbe52b37b52299327b6246e7f7 (patch)
treeb990c35d5b20e515adb604b85b2b10dae0cf034b /src/object.c
parent3ea5166376dbc05722d793c3183c15b3a01e7f3a (diff)
[rt-smart] 弱化 RT_USING_LWP,使用 RT_USING_SMART 作为宏配置 (#6740)
* [dfs] sync cromfs * [rt-smart]Weaken RT_USING_LWP, use RT_USING_SMART as macro configuration * [format] fix some format issue.
Diffstat (limited to 'src/object.c')
-rw-r--r--src/object.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/object.c b/src/object.c
index 606e4c00ff..354703b713 100644
--- a/src/object.c
+++ b/src/object.c
@@ -23,7 +23,7 @@
#include <dlmodule.h>
#endif /* RT_USING_MODULE */
-#ifdef RT_USING_LWP
+#ifdef RT_USING_SMART
#include <lwp.h>
#endif
@@ -71,7 +71,7 @@ enum rt_object_info_type
#ifdef RT_USING_HEAP
RT_Object_Info_Memory, /**< The object is a memory. */
#endif
-#ifdef RT_USING_LWP
+#ifdef RT_USING_SMART
RT_Object_Info_Channel, /**< The object is a IPC channel */
#endif
#ifdef RT_USING_HEAP
@@ -129,7 +129,7 @@ static struct rt_object_information _object_container[RT_Object_Info_Unknown] =
/* initialize object container - small memory */
{RT_Object_Class_Memory, _OBJ_CONTAINER_LIST_INIT(RT_Object_Info_Memory), sizeof(struct rt_memory)},
#endif
-#ifdef RT_USING_LWP
+#ifdef RT_USING_SMART
/* initialize object container - module */
{RT_Object_Class_Channel, _OBJ_CONTAINER_LIST_INIT(RT_Object_Info_Channel), sizeof(struct rt_channel)},
{RT_Object_Class_Custom, _OBJ_CONTAINER_LIST_INIT(RT_Object_Info_Custom), sizeof(struct rt_custom_object)},