Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
portable.h is the header to load when seeking for portability
authormquinson <mquinson@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Wed, 14 Mar 2007 09:05:51 +0000 (09:05 +0000)
committermquinson <mquinson@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Wed, 14 Mar 2007 09:05:51 +0000 (09:05 +0000)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@3262 48e7efb5-ca39-0410-a469-dd3cf9ba447f

testsuite/xbt/context_usage.c

index 702509b..749fbaf 100644 (file)
@@ -4,15 +4,7 @@
 
 #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;