From 7ca4c132b1f3a64287b8c1cc0c8f9822fa761616 Mon Sep 17 00:00:00 2001 From: Marion Guthmuller Date: Sun, 7 Oct 2012 17:21:22 +0200 Subject: [PATCH] model-checker : forget include ucontext.h for struct smx_ctx_sysv --- src/simix/smx_context_sysv.c | 6 ------ src/simix/smx_private.h | 6 ++++++ 2 files changed, 6 insertions(+), 6 deletions(-) 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). */ -- 2.20.1