mysterywolf hace 5 años
padre
commit
e5b10628ee
Se han modificado 1 ficheros con 1 adiciones y 2 borrados
  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 */
 #endif /* _TIMEVAL_DEFINED */
 
 
-#ifndef _TIMESPEC
-#define _TIMESPEC
+#ifndef __GNUC__
 struct timespec {
 struct timespec {
     time_t  tv_sec;     /* seconds */
     time_t  tv_sec;     /* seconds */
     long    tv_nsec;    /* and nanoseconds */
     long    tv_nsec;    /* and nanoseconds */