Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
setup a cleanup routine for mvapich collectives.
[simgrid.git] / src / include / mc / datatypes.h
index 2ae5063..ff7fa02 100644 (file)
@@ -7,21 +7,20 @@
 #ifndef MC_DATATYPE_H
 #define MC_DATATYPE_H
 
-#include <simgrid_config.h>
+#include <src/internal_config.h>
 #include <xbt/base.h>
-#include <ucontext.h>           /* context relative declarations */
 
-#if HAVE_MC
-#include <dwarf.h>
-#endif 
+#if HAVE_UCONTEXT_H
+#include <ucontext.h>           /* context relative declarations */
+#endif
 
 SG_BEGIN_DECL()
 
-typedef struct s_mc_transition *mc_transition_t;
-
 typedef struct s_stack_region{
   void *address;
+#if HAVE_UCONTEXT_H
   ucontext_t* context;
+#endif
   size_t size;
   int block;
   int process_index;