summaryrefslogtreecommitdiff
path: root/components/libc/compilers
diff options
context:
space:
mode:
authormysterywolf <[email protected]>2020-12-17 11:32:10 +0800
committermysterywolf <[email protected]>2020-12-17 11:32:10 +0800
commitab754255407c2af40d6cea61dae1a314947d0886 (patch)
tree59164d83c41ebbd403c1f7ff0b8dc8226f68b716 /components/libc/compilers
parente5b10628ee001543c6ee8d458b1dde5d4941953c (diff)
update
Diffstat (limited to 'components/libc/compilers')
-rw-r--r--components/libc/compilers/common/sys/time.h2
1 files changed, 1 insertions, 1 deletions
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 */