1 #ifndef SIMGRID_FEATURES_H
2 #define SIMGRID_FEATURES_H
4 // Try to guess if MSG_wait destroys communications or not, because it
5 // changed after SimGrid 3.5.
7 // Use some define introduced after that. fixme: dirty hack
9 #if defined(XBT_RUNNING_CTX_INITIALIZER)
10 # define MSG_WAIT_DESTROYS_COMMS 0
12 # define MSG_WAIT_DESTROYS_COMMS 1
15 #endif // !SIMGRID_FEATURES_H