From ab754255407c2af40d6cea61dae1a314947d0886 Mon Sep 17 00:00:00 2001 From: mysterywolf <920369182@qq.com> Date: Thu, 17 Dec 2020 11:32:10 +0800 Subject: [PATCH] update --- components/libc/compilers/common/sys/time.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/libc/compilers/common/sys/time.h b/components/libc/compilers/common/sys/time.h index 06add3ba91..28a977c1f9 100644 --- a/components/libc/compilers/common/sys/time.h +++ b/components/libc/compilers/common/sys/time.h @@ -36,7 +36,7 @@ struct timeval { }; #endif /* _TIMEVAL_DEFINED */ -#ifndef __GNUC__ +#if !defined __GNUC__ && !defined __ICCARM__ struct timespec { time_t tv_sec; /* seconds */ long tv_nsec; /* and nanoseconds */