Selaa lähdekoodia

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

Samuel Thibault 10 vuotta sitten
vanhempi
commit
8fadf88f0f
1 muutettua tiedostoa jossa 1 lisäystä ja 0 poistoa
  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