Explorar o código

timespec is now defined in mingw

Samuel Thibault %!s(int64=15) %!d(string=hai) anos
pai
achega
2d7e4a4ebf
Modificáronse 1 ficheiros con 0 adicións e 10 borrados
  1. 0 10
      include/starpu_profiling.h

+ 0 - 10
include/starpu_profiling.h

@@ -20,16 +20,6 @@
 #include <errno.h>
 #include <sys/time.h>
 
-#ifdef __MINGW32__
-#ifndef STARPU_TIMESPEC_DEFINED
-#define STARPU_TIMESPEC_DEFINED 1
-struct timespec {
-  time_t  tv_sec;  /* Seconds */
-  long    tv_nsec; /* Nanoseconds */
-};
-#endif /* STARPU_TIMESPEC_DEFINED */
-#endif
-
 #include <starpu.h>
 
 #ifdef __cplusplus