1 #ifndef SIMGRID_FEATURES_H
2 #define SIMGRID_FEATURES_H
4 #include <simgrid_config.h>
6 #if !defined(SIMGRID_VERSION) || SIMGRID_VERSION < 30700UL // == SG < 3.7 == //
7 # error "Unsupported SimGrid version. Need version >= 3.7"
8 #endif // ================================================================== //
10 #if SIMGRID_VERSION < 30800UL // ============================== SG < 3.8 === //
11 # define MSG_init(argc, argv) MSG_global_init(argc, argv)
12 # define msg_error_t MSG_error_t
13 # define msg_host_t m_host_t
14 # define msg_process_t m_process_t
15 # define msg_task_t m_task_t
16 #else // =================================================================== //
17 # define MSG_clean() MSG_OK
18 #endif // ================================================================== //
20 #endif // !SIMGRID_FEATURES_H