diff options
| author | Bernard Xiong <[email protected]> | 2018-05-16 10:27:23 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2018-05-16 10:27:23 +0800 |
| commit | d4af0828ea9f3c3f5b450418cf015555f5c769e3 (patch) | |
| tree | eb953191ddc3b0b08bb4986347e8d9dcffda3ba9 /components | |
| parent | f4e5b8d82cff22caeb136b33a68ecaf354457ac6 (diff) | |
| parent | f5e1949efda7231fb5c164154f71bd7aadef3236 (diff) | |
Merge pull request #1432 from ArdaFu/master
[BSP] TM4C129X: Modify rtconfig.py to support compile from IAR-SCONS
Diffstat (limited to 'components')
| -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 |
