Quellcode durchsuchen

timespec is now defined in mingw

Samuel Thibault vor 14 Jahren
Ursprung
Commit
2d7e4a4ebf
1 geänderte Dateien mit 0 neuen und 10 gelöschten Zeilen
  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