Parcourir la source

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

Samuel Thibault il y a 10 ans
Parent
commit
8fadf88f0f
1 fichiers modifiés avec 1 ajouts et 0 suppressions
  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