From: Marion Guthmuller Date: Sun, 7 Oct 2012 15:21:22 +0000 (+0200) Subject: model-checker : forget include ucontext.h for struct smx_ctx_sysv X-Git-Tag: v3_8~110 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/7ca4c132b1f3a64287b8c1cc0c8f9822fa761616?ds=inline model-checker : forget include ucontext.h for struct smx_ctx_sysv --- diff --git a/src/simix/smx_context_sysv.c b/src/simix/smx_context_sysv.c index 758f7fed7a..b292db75d3 100644 --- a/src/simix/smx_context_sysv.c +++ b/src/simix/smx_context_sysv.c @@ -13,12 +13,6 @@ #include "gras_config.h" #include "context_sysv_config.h" /* loads context system definitions */ -#ifdef _XBT_WIN32 -# include /* context relative declarations */ -#else -# include /* context relative declarations */ -#endif - #ifdef HAVE_VALGRIND_VALGRIND_H # include #endif /* HAVE_VALGRIND_VALGRIND_H */ diff --git a/src/simix/smx_private.h b/src/simix/smx_private.h index 9a459cc7ba..fcf7fd10a6 100644 --- a/src/simix/smx_private.h +++ b/src/simix/smx_private.h @@ -25,6 +25,12 @@ #include "smx_smurf_private.h" #include "smx_synchro_private.h" +#ifdef _XBT_WIN32 +# include /* context relative declarations */ +#else +# include /* context relative declarations */ +#endif + /* Define only for SimGrid benchmarking purposes */ //#define TIME_BENCH_PER_SR /* this aims at measuring the time spent in each scheduling round per each thread. The code is thus run in sequential to bench separately each SSR */ //#define TIME_BENCH_AMDAHL /* this aims at measuring the porting of time that could be parallelized at maximum (to get the optimal speedup by applying the amdahl law). */