From 574c27f4ef83aa29b1d11d7c651ff0a8728457e0 Mon Sep 17 00:00:00 2001 From: Morten Enemark Lund Date: Mon, 9 Sep 2024 10:25:52 +0200 Subject: [PATCH] Fix: Updated the version check in template libdef (#993) Todo: add a way to automatically update this code, when new versions come out --- Tools/Templates/Human/libdef.any | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Tools/Templates/Human/libdef.any b/Tools/Templates/Human/libdef.any index 6c6db036c..b8c45c1bc 100644 --- a/Tools/Templates/Human/libdef.any +++ b/Tools/Templates/Human/libdef.any @@ -1,9 +1,9 @@ #include "../libdef.any" -#if AMMR_VERSION_MAJOR < 2 | (AMMR_VERSION_MAJOR <= 2 & AMMR_VERSION_MINOR < 3) +#if AMMR_VERSION_MAJOR < 3 | (AMMR_VERSION_MAJOR <= 0 & AMMR_VERSION_MINOR < 0) Main = { -ERROR "Wrong AMMR version. Please modify libdef.any to point to the correct AMMR (>=2.2)" +ERROR "Wrong AMMR version. Please modify libdef.any to point to the correct AMMR (>=3.0.0)" }; #endif