Skip to content

Commit

Permalink
Fix: Updated the version check in template libdef (#993)
Browse files Browse the repository at this point in the history
Todo: add a way to automatically update this code, when new versions come out
  • Loading branch information
melund authored Sep 9, 2024
1 parent ba97c3c commit 574c27f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Tools/Templates/Human/libdef.any
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 574c27f

Please sign in to comment.