浏览代码

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