diff options
Diffstat (limited to 'src/object.c')
| -rw-r--r-- | src/object.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/object.c b/src/object.c index d1815f7e23..afcd4d8509 100644 --- a/src/object.c +++ b/src/object.c @@ -353,7 +353,7 @@ void rt_object_init(struct rt_object *object, const char *name) { rt_base_t level; -#ifdef RT_DEBUG +#ifdef RT_USING_DEBUG struct rt_list_node *node = RT_NULL; #endif struct rt_object_information *information; @@ -365,7 +365,7 @@ void rt_object_init(struct rt_object *object, information = rt_object_get_information(type); RT_ASSERT(information != RT_NULL); -#ifdef RT_DEBUG +#ifdef RT_USING_DEBUG /* check object type to avoid re-initialization */ /* enter critical */ |
