Преглед на файлове

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

Nathalie Furmento преди 14 години
родител
ревизия
c0e7b87aed
променени са 1 файла, в които са добавени 5 реда и са изтрити 0 реда
  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>