diff options
| author | Grissiom <[email protected]> | 2014-12-01 18:54:55 +0800 |
|---|---|---|
| committer | Grissiom <[email protected]> | 2014-12-01 18:54:55 +0800 |
| commit | 4bb6c8cf0c6f4ac73c835b118eb7166264e1a842 (patch) | |
| tree | cc84b1fa3c1c82fd2e57e8e7d606ed0d2f10b34d /src/module.c | |
| parent | cf692a4ab45b8f2c29410f074a49edec693d24f7 (diff) | |
module: add !__CC_ARM when test __GNUC__
ARMCC will define __GNUC__ in "GNU mode"(with --gnu command line
option). So iff __GNUC__ && !__CC_ARM is GCC.
Diffstat (limited to 'src/module.c')
| -rw-r--r-- | src/module.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/module.c b/src/module.c index 5d5d02c580..1c20de731d 100644 --- a/src/module.c +++ b/src/module.c @@ -82,7 +82,7 @@ static struct rt_module_symtab *_rt_module_symtab_end = RT_NULL; */ int rt_system_module_init(void) { -#ifdef __GNUC__ +#if defined(__GNUC__) && !defined(__CC_ARM) extern int __rtmsymtab_start; extern int __rtmsymtab_end; |
