Bläddra i källkod

include: make sure windows.h is included before other includes

Nathalie Furmento 14 år sedan
förälder
incheckning
c0e7b87aed
1 ändrade filer med 5 tillägg och 0 borttagningar
  1. 5 0
      include/starpu.h

+ 5 - 0
include/starpu.h

@@ -30,6 +30,11 @@ typedef unsigned long long uint64_t;
 #endif
 
 #include <starpu_config.h>
+
+#ifdef STARPU_HAVE_WINDOWS
+#include <windows.h>
+#endif
+
 #include <starpu_util.h>
 #include <starpu_data.h>
 #include <starpu_perfmodel.h>