Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Whitespace cleanup.
[simgrid.git] / src / simgrid / sg_config.c
index c56c649..1b188b5 100644 (file)
@@ -604,11 +604,15 @@ void sg_config_init(int *argc, char **argv)
     xbt_cfg_register(&_sg_cfg_set, "contexts/factory",
                      "Context factory to use in SIMIX (ucontext, thread or raw)",
                      xbt_cfgelm_string, 1, 1, _sg_cfg_cb_context_factory, NULL);
+#ifndef WIN32
     xbt_cfg_setdefault_string(_sg_cfg_set, "contexts/factory", "ucontext");
+#else
+    xbt_cfg_setdefault_string(_sg_cfg_set, "contexts/factory", "raw");
+#endif
 
     /* stack size of contexts in Ko */
     xbt_cfg_register(&_sg_cfg_set, "contexts/stack_size",
-                     "Stack size of contexts in Kib (ucontext or raw only)",
+                     "Stack size of contexts in Kib",
                      xbt_cfgelm_int, 1, 1, _sg_cfg_cb_context_stack_size, NULL);
     xbt_cfg_setdefault_int(_sg_cfg_set, "contexts/stack_size", 128);