-#if !defined(SIMGRID_VERSION) // ========== SimGrid <= 3.5 ============= //
-# error "Unsupported SimGrid version. Need version > 3.5"
-#endif // ============================================================= //
+#if !defined(SIMGRID_VERSION) || SIMGRID_VERSION < 31200UL // == SG < 3.12 == //
+# error "Unsupported SimGrid version. Need version >= 3.12"
+#endif // =================================================================== //