summaryrefslogtreecommitdiff
path: root/include/rtdef.h
diff options
context:
space:
mode:
authorShicheng Chu <[email protected]>2023-06-29 23:24:25 +0800
committerGitHub <[email protected]>2023-06-29 11:24:25 -0400
commite2c031643c8dec7c9ea1581216e19bf19c8f73f0 (patch)
tree926536732e7472c5e86ac5198b239d82f9f55da4 /include/rtdef.h
parent148ae53cf8d3abc2c2e11c94c171b123b950b2fc (diff)
[include][dbg]update: no longer use RT_DEBUG_LOG in rtdebug.h (#7750)
Diffstat (limited to 'include/rtdef.h')
-rw-r--r--include/rtdef.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/rtdef.h b/include/rtdef.h
index 1f0610cbcd..39441a2dcf 100644
--- a/include/rtdef.h
+++ b/include/rtdef.h
@@ -270,7 +270,7 @@ typedef __gnuc_va_list va_list;
typedef int (*init_fn_t)(void);
#ifdef _MSC_VER
#pragma section("rti_fn$f",read)
- #if RT_DEBUG_INIT
+ #ifdef RT_DEBUG_INIT
struct rt_init_desc
{
const char* level;
@@ -296,7 +296,7 @@ typedef int (*init_fn_t)(void);
{__rti_level_##fn, fn };
#endif
#else
- #if RT_DEBUG_INIT
+ #ifdef RT_DEBUG_INIT
struct rt_init_desc
{
const char* fn_name;