mysterywolf 5 lat temu
rodzic
commit
e5b10628ee
1 zmienionych plików z 1 dodań i 2 usunięć
  1. 1 2
      components/libc/compilers/common/sys/time.h

+ 1 - 2
components/libc/compilers/common/sys/time.h

@@ -36,8 +36,7 @@ struct timeval {
 };
 #endif /* _TIMEVAL_DEFINED */
 
-#ifndef _TIMESPEC
-#define _TIMESPEC
+#ifndef __GNUC__
 struct timespec {
     time_t  tv_sec;     /* seconds */
     long    tv_nsec;    /* and nanoseconds */