diff options
| author | mysterywolf <[email protected]> | 2020-10-02 12:00:52 +0800 |
|---|---|---|
| committer | mysterywolf <[email protected]> | 2020-10-02 12:00:52 +0800 |
| commit | c7aa6f0619318a3730fc4f4689d2cd2e72efed52 (patch) | |
| tree | 94df2c43c6e5eba1dc84af90ebdcf77a2766e698 /include/libc/libc_stat.h | |
| parent | aeff91b2a7fc846cf3724c01c28fbd7327bd2bac (diff) | |
[fix bug] #3902
Diffstat (limited to 'include/libc/libc_stat.h')
| -rw-r--r-- | include/libc/libc_stat.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/libc/libc_stat.h b/include/libc/libc_stat.h index 9388688572..6497cfe12c 100644 --- a/include/libc/libc_stat.h +++ b/include/libc/libc_stat.h @@ -9,7 +9,7 @@ #include <rtconfig.h> -#if defined(RT_USING_NEWLIB) || defined( __GNUC__ ) +#if defined(RT_USING_NEWLIB) || (defined( __GNUC__ ) && !defined(__ARMCC_VERSION)) /* use header file of newlib */ #include <sys/stat.h> |
