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

Private GIT Repository
xbt_cond_timedwait has changed and doesn't throw exception anymore.
[loba.git] / simgrid_features.h
index 0b745755231b398a8959700c8a4a2aec873fde70..2cfb227a84e87764b7f234b50e4ee82b02248183 100644 (file)
@@ -1,9 +1,11 @@
 #ifndef SIMGRID_FEATURES_H
 #define SIMGRID_FEATURES_H
 
 #ifndef SIMGRID_FEATURES_H
 #define SIMGRID_FEATURES_H
 
-#if !defined(SIMGRID_VERSION) // ========== SimGrid <= 3.5 ============= //
-#  error "Unsupported SimGrid version.  Need version > 3.5"
-#endif  // ============================================================= //
+#include <simgrid_config.h>
+
+#if !defined(SIMGRID_VERSION) || SIMGRID_VERSION < 31800UL // == SG < 3.18 == //
+#  error "Unsupported SimGrid version.  Need version >= 3.18"
+#endif // =================================================================== //
 
 #endif // !SIMGRID_FEATURES_H
 
 
 #endif // !SIMGRID_FEATURES_H