From 831c6999e80209107689efe44c45c9ada2ba9510 Mon Sep 17 00:00:00 2001 From: Anthony Geay Date: Tue, 1 Oct 2019 15:53:49 +0200 Subject: [PATCH] Support 4.0 and 4.1 --- src/MEDWrapper/MED_Factory.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/MEDWrapper/MED_Factory.cxx b/src/MEDWrapper/MED_Factory.cxx index f01350f2a..fa49039f7 100644 --- a/src/MEDWrapper/MED_Factory.cxx +++ b/src/MEDWrapper/MED_Factory.cxx @@ -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, -- 2.39.2