-/* Copyright (c) 2008, 2009, 2010. The SimGrid Team.
+/* Copyright (c) 2008-2015. The SimGrid Team.
* All rights reserved. */
/* This program is free software; you can redistribute it and/or modify it
#include <stdio.h>
#include <stdlib.h>
-#include "simdag/simdag.h"
+#include "simgrid/simdag.h"
#include "surf/surf_private.h"
-extern routing_platf_t routing_platf;
-
int main(int argc, char **argv)
{
- /* initialisation of SD */
+ /* SD initialization */
SD_workstation_t w1, w2;
const SD_workstation_t *workstations;
int route_size, i, j, k;
int list_size;
+#ifdef _XBT_WIN32
+ setbuf(stderr, NULL);
+ setbuf(stdout, NULL);
+#else
setvbuf(stdout, NULL, _IOLBF, 0);
+#endif
SD_init(&argc, argv);