Salome HOME
Support 4.0 and 4.1
authorAnthony Geay <anthony.geay@edf.fr>
Tue, 1 Oct 2019 13:53:49 +0000 (15:53 +0200)
committerAnthony Geay <anthony.geay@edf.fr>
Tue, 1 Oct 2019 13:53:49 +0000 (15:53 +0200)
src/MEDWrapper/MED_Factory.cxx

index f01350f2a1fca1e9c69d0226279f2cbe9abc6b1f..fa49039f722597b10396f11823cc04262801fcf0 100644 (file)
@@ -52,7 +52,7 @@ extern "C"
 #if MED_MAJOR_NUM != MED_MAJOR_EXPECTED
   #error "MED major version does not correspond to the expected version, fix the minor and major compatibility values in CheckCompatibility method (MED_VERSIONS_APPEND_COMPATIBLE) and set the correct expected version"
 #endif
-#if MED_MINOR_NUM <= MED_MINOR_EXPECTED
+#if MED_MINOR_NUM < MED_MINOR_EXPECTED
   #error "MED minor version does not correspond to the expected version, fix the minor and major compatibility values in CheckCompatibility method (MED_VERSIONS_APPEND_COMPATIBLE) and set the correct expected version"
 #endif
 #define MED_VERSIONS_APPEND_COMPATIBLE {40, 32, 33} // --- 10*major + minor (the 3rd digit, release, is not used here,