소스 검색

winpthread32 actually tests for HAVE_STRUCT_TIMESPEC too...

Samuel Thibault 10 년 전
부모
커밋
d2e3009cdf
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      include/starpu_util.h

+ 1 - 0
include/starpu_util.h

@@ -310,6 +310,7 @@ double starpu_timing_now(void);
 #endif
 #include <time.h>
 #if !defined(_MSC_VER) || defined(BUILDING_STARPU)
+#undef HAVE_STRUCT_TIMESPEC
 #include <pthread.h>
 #endif
 #ifndef STARPU_HAVE_STRUCT_TIMESPEC