1 #ifndef SIMGRID_FEATURES_H
2 #define SIMGRID_FEATURES_H
4 /* What is defined here:
5 * =====================
7 * MSG_WAIT_DESTROYS_COMMS 1 if MSG_wait destroys communications
8 * (has changed after SimGrid 3.5)
10 * MSG_comm_get_status(comm) MSG_OK on SG 3.5 where it does not exist.
13 #if !defined(SIMGRID_VERSION) // ========== SimGrid <= 3.5 ============= //
15 #define MSG_WAIT_DESTROYS_COMMS 1
18 MSG_error_t MSG_comm_get_status(msg_comm_t /*comm*/)
23 #else // ================================= SimGrid > 3.5 ============== //
25 #define MSG_WAIT_DESTROYS_COMMS 0
27 #endif // ============================================================= //
29 #endif // !SIMGRID_FEATURES_H