Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Windows compatibility.
[simgrid.git] / src / xbt / xbt_sg_stubs.c
index b609c10..56a9bbe 100644 (file)
@@ -21,6 +21,7 @@
 #include "portable.h"           /* CONTEXT_THREADS */
 
 #ifndef CONTEXT_THREADS
+#ifndef WIN32
 
 /* xbt_threads is loaded in libsimgrid when they are used to implement the xbt_context.
  * The decision (and the loading) is made in xbt/context.c.
@@ -141,3 +142,4 @@ void xbt_os_cond_destroy(xbt_os_cond_t cond)
     ("No pthread in SG when compiled against the ucontext (xbt_os_cond_destroy)");
 }
 #endif
+#endif