[rtdbg] Add for cpp support.
This commit is contained in:
parent
19dd40440f
commit
c2f15ae1cc
|
@ -32,6 +32,10 @@
|
|||
|
||||
#include <rtconfig.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/* the debug log will force enable when RT_DEBUG macro is defined */
|
||||
#if defined(RT_DEBUG) && !defined(DBG_ENABLE)
|
||||
#define DBG_ENABLE
|
||||
|
@ -176,4 +180,8 @@
|
|||
|
||||
#endif /* defined(RT_USING_ULOG) && define(DBG_ENABLE) */
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* RT_DBG_H__ */
|
||||
|
|
Loading…
Reference in New Issue