X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/8cb6506f65799af09c57dfea8dd68d0ee40d4507..3f485ca36d11ca7dda9a469b81265705f0e7749b:/src/include/mc/datatypes.h diff --git a/src/include/mc/datatypes.h b/src/include/mc/datatypes.h index 0b45c09f97..bb32dba5c4 100644 --- a/src/include/mc/datatypes.h +++ b/src/include/mc/datatypes.h @@ -7,34 +7,27 @@ #ifndef MC_DATATYPE_H #define MC_DATATYPE_H -#include +#include +#include -#include "xbt/misc.h" -#include "xbt/swag.h" -#include "xbt/fifo.h" - -#if HAVE_MC -#include -#include -#endif +#ifdef HAVE_UCONTEXT_H +#include /* context relative declarations */ +#endif SG_BEGIN_DECL() -/******************************* Transitions **********************************/ - typedef struct s_mc_transition *mc_transition_t; -/*********** Structures for snapshot comparison **************************/ - typedef struct s_stack_region{ void *address; +#ifdef HAVE_UCONTEXT_H ucontext_t* context; +#endif size_t size; int block; int process_index; }s_stack_region_t, *stack_region_t; -/************ DWARF structures *************/ - SG_END_DECL() + #endif /* _MC_MC_H */