[Componment] libc: Modify skip timespec define condication. Change IAR version from 8.11.2 to 8.10.1

This commit is contained in:
ArdaFu 2018-05-14 00:12:29 +08:00
parent 45645be9d2
commit 48a59d1b44
1 changed files with 4 additions and 1 deletions

View File

@ -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