Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Once again, Linux does not follow the real way of doing things.
[simgrid.git] / teshsuite / simdag / platforms / flatifier.c
index f523ce6..46ae1b4 100644 (file)
@@ -104,7 +104,12 @@ int main(int argc, char **argv)
   const SD_link_t *links;
   xbt_os_timer_t parse_time = xbt_os_timer_new();
 
+#ifdef _XBT_WIN32
+  setbuf(stderr, NULL);
+  setbuf(stdout, NULL);
+#else
   setvbuf(stdout, NULL, _IOLBF, 0);
+#endif
 
   SD_init(&argc, argv);