]> AND Private Git Repository - loba.git/blob - simgrid_features.h
Logo AND Algorithmique Numérique Distribuée

Private GIT Repository
Make boolean option togglable.
[loba.git] / simgrid_features.h
1 #ifndef SIMGRID_FEATURES_H
2 #define SIMGRID_FEATURES_H
3
4 // Try to guess if MSG_wait destroys communications or not, because it
5 // changed after SimGrid 3.5.
6 //
7 // Use some define introduced after that.               fixme: dirty hack
8 //
9 #if defined(XBT_RUNNING_CTX_INITIALIZER)
10 #  define MSG_WAIT_DESTROYS_COMMS 0
11 #else
12 #  define MSG_WAIT_DESTROYS_COMMS 1
13 #endif
14
15 #endif // !SIMGRID_FEATURES_H