summaryrefslogtreecommitdiff
path: root/components/cplusplus
diff options
context:
space:
mode:
authorBernard Xiong <[email protected]>2017-09-19 07:07:44 +0800
committerGitHub <[email protected]>2017-09-19 07:07:44 +0800
commita5eea11b02337c64d3282286745b2858a356f35e (patch)
treea2a6bed316e7d3b32cbe2062352efb4983f7bf09 /components/cplusplus
parented46356eb4d8bda0c9358c0f826cc62553c1f4be (diff)
parent85cc2dab69df6bd74726d5fcc479e075db0ca07a (diff)
Merge pull request #849 from geniusgogo/RT_MACRO
rename WEAK to RT_WEAK
Diffstat (limited to 'components/cplusplus')
-rwxr-xr-xcomponents/cplusplus/crt_init.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/components/cplusplus/crt_init.c b/components/cplusplus/crt_init.c
index ebcc4af37d..12c92dc6fb 100755
--- a/components/cplusplus/crt_init.c
+++ b/components/cplusplus/crt_init.c
@@ -44,11 +44,11 @@ void _fini()
{
}
-WEAK void *__dso_handle = 0;
+RT_WEAK void *__dso_handle = 0;
#endif
-WEAK
+RT_WEAK
int cplusplus_system_init(void)
{
#if defined(__GNUC__) && !defined(__CC_ARM)