Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
use win32/config.h on windows
authorcherierm <cherierm@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Tue, 13 Mar 2007 14:07:10 +0000 (14:07 +0000)
committercherierm <cherierm@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Tue, 13 Mar 2007 14:07:10 +0000 (14:07 +0000)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@3261 48e7efb5-ca39-0410-a469-dd3cf9ba447f

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;