mysterywolf 4 năm trước cách đây
mục cha
commit
ab75425540
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      components/libc/compilers/common/sys/time.h

+ 1 - 1
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 */