Explorar el Código

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

Nathalie Furmento hace 14 años
padre
commit
c0e7b87aed
Se han modificado 1 ficheros con 5 adiciones y 0 borrados
  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>