diff options
| author | Bernard Xiong <[email protected]> | 2018-01-10 19:58:28 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2018-01-10 19:58:28 +0800 |
| commit | f54c8bab3c3550f168422586a00a57f35a51d082 (patch) | |
| tree | 7ab409bb0654f8fd36625be8467114c0c97ae152 /components/libc | |
| parent | 2d7fac37bd11a0fcffc6b340440cc4435f7027c2 (diff) | |
| parent | 472491e7ca4ffa5b64b6dce735c5f736c8ebdcbe (diff) | |
Merge pull request #1161 from zhaojuntao/Fix-IAR-Version-Problem
Fix-IAR-Version-Problem
Diffstat (limited to 'components/libc')
| -rw-r--r-- | components/libc/compilers/dlib/sys/time.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/components/libc/compilers/dlib/sys/time.h b/components/libc/compilers/dlib/sys/time.h index 2d60b37317..ac52745064 100644 --- a/components/libc/compilers/dlib/sys/time.h +++ b/components/libc/compilers/dlib/sys/time.h @@ -20,6 +20,10 @@ struct timeval { }; #endif /* _TIMEVAL_DEFINED */ +#if defined ( __ICCARM__ ) && (__VER__ >= 8011002) +#define _TIMESPEC_DEFINED +#endif + #ifndef _TIMESPEC_DEFINED #define _TIMESPEC_DEFINED /* |
