Skip to content
Snippets Groups Projects
Commit 9be1ee4a authored by Marco Z's avatar Marco Z
Browse files

Hardcode define MAJOREXECVERSION to MODVERSION

parent 6affe807
No related branches found
No related tags found
3 merge requests!488Merge in next and don't billboard papersprites in GL,!408EXECVERSION adjustments (config updater),!402Update code versions to 2.1.22
......@@ -216,13 +216,13 @@ extern FILE *logstream;
// Note that we use this to help keep internal testing in check; this is why v2.1.0 is not version "1".
#define MODVERSION 27
// To version config.cfg, set MAJOREXECVERSION equal to MODVERSION
// and increment SUBEXECVERSION whenever a config change is needed
// To version config.cfg, MAJOREXECVERSION is set equal to MODVERSION automatically.
// Increment SUBEXECVERSION whenever a config change is needed
// that does not correspond to an increment in MODVERSION.
// If MAJOREXECVERSION increases, set MINOREXECVERSION to 0.
#define MAJOREXECVERSION 27
#define MAJOREXECVERSION MODVERSION
#define MINOREXECVERSION 0
// (It would have been nice to use VERSION and SUBVERSION but those are different for DEVELOP builds)
// (It would have been nice to use VERSION and SUBVERSION but those are zero'd out for DEVELOP builds)
// Macros
#define GETMAJOREXECVERSION(v) (v & 0xFFFF)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment