X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/9b73466ada27682d1729f394549479da83ef4a99..45c3f1cfee86fb48c96d53f8267f99b6db6e3d7a:/src/simix/smx_smurf.c diff --git a/src/simix/smx_smurf.c b/src/simix/smx_smurf.c index a5a3e27681..77623e70ee 100644 --- a/src/simix/smx_smurf.c +++ b/src/simix/smx_smurf.c @@ -1,7 +1,15 @@ +/* Copyright (c) 2010-2014. The SimGrid Team. + * All rights reserved. */ + +/* This program is free software; you can redistribute it and/or modify it + * under the terms of the license (GNU LGPL) which comes with this package. */ + #include "smx_private.h" #include "xbt/fifo.h" #include "xbt/xbt_os_thread.h" -#include "../mc/mc_private.h" +#ifdef HAVE_MC +#include "mc/mc_private.h" +#endif XBT_LOG_NEW_DEFAULT_SUBCATEGORY(simix_smurf, simix, "Logging specific to SIMIX (SMURF)"); @@ -52,7 +60,7 @@ void SIMIX_simcall_pre(smx_simcall_t simcall, int value) if (simcall->issuer->context->iwannadie && simcall->call != SIMCALL_PROCESS_CLEANUP) return; switch (simcall->call) { -SIMCALL_LIST(SIMCALL_CASE, SIMCALL_SEP_NOTHING) +#include "simcalls_generated_case.c" case NUM_SIMCALLS:; break; case SIMCALL_NONE:;