diff options
Diffstat (limited to 'include/rtdef.h')
| -rw-r--r-- | include/rtdef.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/include/rtdef.h b/include/rtdef.h index d8aac08ca4..dd5dffc6c5 100644 --- a/include/rtdef.h +++ b/include/rtdef.h @@ -123,11 +123,7 @@ typedef rt_base_t rt_off_t; /**< Type for offset */ #define RT_FALSE 0 /**< boolean fails */ /* null pointer definition */ -#ifdef RT_USING_LIBC -#define RT_NULL NULL /**< null pointer */ -#else -#define RT_NULL (0) /**< null pointer */ -#endif /* RT_USING_LIBC */ +#define RT_NULL 0 /**@}*/ |
