summaryrefslogtreecommitdiff
path: root/include/rtdef.h
diff options
context:
space:
mode:
authorMan, Jianting (Meco) <[email protected]>2023-07-21 22:36:42 -0400
committerGitHub <[email protected]>2023-07-22 10:36:42 +0800
commit244b903e5def3cd4aefc4bf2ebdc4687826e2f4d (patch)
tree8bbed859a1b5c38a449b9e2c6a35d3026eeecaef /include/rtdef.h
parent52d3637fba5e3e4048ba036803d6292f3e7a4a70 (diff)
[debug] 整理debug宏并增加RT_DEBUGING_CONTEXT (#7805)
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 9562c410f5..c0f1cb1f24 100644
--- a/include/rtdef.h
+++ b/include/rtdef.h
@@ -271,7 +271,7 @@ typedef __gnuc_va_list va_list;
typedef int (*init_fn_t)(void);
#ifdef _MSC_VER
#pragma section("rti_fn$f",read)
- #ifdef RT_DEBUG_INIT
+ #ifdef RT_DEBUGING_INIT
struct rt_init_desc
{
const char* level;
@@ -297,7 +297,7 @@ typedef int (*init_fn_t)(void);
{__rti_level_##fn, fn };
#endif
#else
- #ifdef RT_DEBUG_INIT
+ #ifdef RT_DEBUGING_INIT
struct rt_init_desc
{
const char* fn_name;