mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2025-01-14 05:41:02 +00:00
Hardcode define MAJOREXECVERSION to MODVERSION
This commit is contained in:
parent
6affe807e8
commit
9be1ee4ac7
1 changed files with 4 additions and 4 deletions
|
@ -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".
|
// 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
|
#define MODVERSION 27
|
||||||
|
|
||||||
// To version config.cfg, set MAJOREXECVERSION equal to MODVERSION
|
// To version config.cfg, MAJOREXECVERSION is set equal to MODVERSION automatically.
|
||||||
// and increment SUBEXECVERSION whenever a config change is needed
|
// Increment SUBEXECVERSION whenever a config change is needed
|
||||||
// that does not correspond to an increment in MODVERSION.
|
// that does not correspond to an increment in MODVERSION.
|
||||||
// If MAJOREXECVERSION increases, set MINOREXECVERSION to 0.
|
// If MAJOREXECVERSION increases, set MINOREXECVERSION to 0.
|
||||||
#define MAJOREXECVERSION 27
|
#define MAJOREXECVERSION MODVERSION
|
||||||
#define MINOREXECVERSION 0
|
#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
|
// Macros
|
||||||
#define GETMAJOREXECVERSION(v) (v & 0xFFFF)
|
#define GETMAJOREXECVERSION(v) (v & 0xFFFF)
|
||||||
|
|
Loading…
Reference in a new issue