Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
portable.h is the header to load when seeking for portability
[simgrid.git] / testsuite / xbt / context_usage.c
index 702509b99ca419258626b0e4072ac86f542ef66e..749fbaf959119195d5240674ff5d883b50f6ec93 100644 (file)
@@ -4,15 +4,7 @@
 
 #include "xbt.h"
 #include "xbt/context.h"
 
 #include "xbt.h"
 #include "xbt/context.h"
-
-/* To know whether we're using threads or context */
-
-#ifdef _WIN32
-# include "win32/config.h"
-#else
-#  include "gras_config.h"
-#endif
-
+#include "portable.h" /* To know whether we're using threads or context */
 #include "xbt/fifo.h"
 
 xbt_context_t cA = NULL;
 #include "xbt/fifo.h"
 
 xbt_context_t cA = NULL;