Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
use win32/config.h on windows
[simgrid.git] / testsuite / xbt / context_usage.c
index 44be306..702509b 100644 (file)
@@ -4,7 +4,15 @@
 
 #include "xbt.h"
 #include "xbt/context.h"
-#include "gras_config.h" /* To know whether we're using threads or context */
+
+/* To know whether we're using threads or context */
+
+#ifdef _WIN32
+# include "win32/config.h"
+#else
+#  include "gras_config.h"
+#endif
+
 #include "xbt/fifo.h"
 
 xbt_context_t cA = NULL;