diff options
| author | Meco Jianting Man <[email protected]> | 2021-03-09 21:11:14 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2021-03-09 21:11:14 +0800 |
| commit | 6f32f7cad53d5142ae3057e7cbca1884995d6631 (patch) | |
| tree | fe7c983aeddf2c8064b071c5f997c8405b97fead /components/libc/compilers/common/sys | |
| parent | ce86058201432e865b8d7c4096b3675642a43a42 (diff) | |
| parent | d9b8984398d1c424a78a840d9159399145f986a0 (diff) | |
Merge pull request #25 from RT-Thread/master
pr
Diffstat (limited to 'components/libc/compilers/common/sys')
| -rw-r--r-- | components/libc/compilers/common/sys/time.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/libc/compilers/common/sys/time.h b/components/libc/compilers/common/sys/time.h index e4d60d2d11..5bf5bc5e92 100644 --- a/components/libc/compilers/common/sys/time.h +++ b/components/libc/compilers/common/sys/time.h @@ -38,7 +38,7 @@ struct timeval { }; #endif /* _TIMEVAL_DEFINED */ -#if !defined __GNUC__ && !defined __ICCARM__ +#if !(defined(__GNUC__) && !defined(__ARMCC_VERSION)) && !defined (__ICCARM__) struct timespec { time_t tv_sec; /* seconds */ long tv_nsec; /* and nanoseconds */ |
