diff options
| author | zyh <[email protected]> | 2018-05-16 11:15:23 +0800 |
|---|---|---|
| committer | zyh <[email protected]> | 2018-05-16 11:15:23 +0800 |
| commit | 7577b1a373a36ec4bc72a66cf36dbefb9497f0b1 (patch) | |
| tree | d8d0d357fc9173f44fed4221270cd2018d683ca8 /components/libc/compilers | |
| parent | e46e9e6f2130302d04e4ec5dc2e0bfd140520c32 (diff) | |
| parent | d4af0828ea9f3c3f5b450418cf015555f5c769e3 (diff) | |
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'components/libc/compilers')
| -rw-r--r-- | components/libc/compilers/dlib/sys/time.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/components/libc/compilers/dlib/sys/time.h b/components/libc/compilers/dlib/sys/time.h index ac52745064..1acb836032 100644 --- a/components/libc/compilers/dlib/sys/time.h +++ b/components/libc/compilers/dlib/sys/time.h @@ -20,7 +20,10 @@ struct timeval { }; #endif /* _TIMEVAL_DEFINED */ -#if defined ( __ICCARM__ ) && (__VER__ >= 8011002) +/* + * Skip define timespec for IAR version over 8.10.1 where __VER__ is 8010001. + */ +#if defined ( __ICCARM__ ) && (__VER__ >= 8010001) #define _TIMESPEC_DEFINED #endif |
