浏览代码

avoid letting winpthread's pthread.h include our own config.h...

Samuel Thibault 10 年之前
父节点
当前提交
8fadf88f0f
共有 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_CONFIG_H
 #undef HAVE_STRUCT_TIMESPEC
 #include <pthread.h>
 #endif