summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMeco Man <[email protected]>2023-11-09 07:52:18 -0500
committerMeco Man <[email protected]>2023-11-10 05:24:33 -0500
commit589641258e3eb21ba7b5d6ce7f7da581468f5489 (patch)
tree0efcfb5fec25d0d2e7b543c3aa7d542abacad1ff /include
parent48f53e9150a96ca27e3b33264c36c4431caf8af9 (diff)
[debug] rename RT_DEBUGING_INIT as RT_DEBUGING_AUTO_INIT
Diffstat (limited to 'include')
-rw-r--r--include/rtdef.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/rtdef.h b/include/rtdef.h
index 2f55651262..670a0944cf 100644
--- a/include/rtdef.h
+++ b/include/rtdef.h
@@ -288,7 +288,7 @@ typedef __gnuc_va_list va_list;
typedef int (*init_fn_t)(void);
#ifdef _MSC_VER
#pragma section("rti_fn$f",read)
- #ifdef RT_DEBUGING_INIT
+ #ifdef RT_DEBUGING_AUTO_INIT
struct rt_init_desc
{
const char* level;
@@ -312,9 +312,9 @@ typedef int (*init_fn_t)(void);
__declspec(allocate("rti_fn$f")) \
rt_used const struct rt_init_desc __rt_init_msc_##fn = \
{__rti_level_##fn, fn };
- #endif
+ #endif /* RT_DEBUGING_AUTO_INIT */
#else
- #ifdef RT_DEBUGING_INIT
+ #ifdef RT_DEBUGING_AUTO_INIT
struct rt_init_desc
{
const char* fn_name;
@@ -327,7 +327,7 @@ typedef int (*init_fn_t)(void);
#else
#define INIT_EXPORT(fn, level) \
rt_used const init_fn_t __rt_init_##fn rt_section(".rti_fn." level) = fn
- #endif
+ #endif /* RT_DEBUGING_AUTO_INIT */
#endif
#else
#define INIT_EXPORT(fn, level)