mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-20 10:12:06 +00:00
Merge branch 'release'
This commit is contained in:
@@ -11,7 +11,7 @@
|
|||||||
|
|
||||||
#define PACKAGE_VERSION_MAJOR (0)
|
#define PACKAGE_VERSION_MAJOR (0)
|
||||||
#define PACKAGE_VERSION_MINOR (3)
|
#define PACKAGE_VERSION_MINOR (3)
|
||||||
#define PACKAGE_VERSION_PATCH (9)
|
#define PACKAGE_VERSION_PATCH (10)
|
||||||
|
|
||||||
const char *get_package_version_string(void);
|
const char *get_package_version_string(void);
|
||||||
|
|
||||||
|
|||||||
@@ -566,6 +566,10 @@ void sym_Init(void)
|
|||||||
|
|
||||||
_RSSymbol->isBuiltin = true;
|
_RSSymbol->isBuiltin = true;
|
||||||
|
|
||||||
|
sym_AddEqu("__RGBDS_MAJOR__", PACKAGE_VERSION_MAJOR);
|
||||||
|
sym_AddEqu("__RGBDS_MINOR__", PACKAGE_VERSION_MINOR);
|
||||||
|
sym_AddEqu("__RGBDS_PATCH__", PACKAGE_VERSION_PATCH);
|
||||||
|
|
||||||
time_t now = time(NULL);
|
time_t now = time(NULL);
|
||||||
|
|
||||||
if (now == (time_t)-1) {
|
if (now == (time_t)-1) {
|
||||||
|
|||||||
1
test/asm/version.asm
Normal file
1
test/asm/version.asm
Normal file
@@ -0,0 +1 @@
|
|||||||
|
PRINTT "RGBDS version {__RGBDS_MAJOR__}.{__RGBDS_MINOR__}.{__RGBDS_PATCH__}\n"
|
||||||
0
test/asm/version.err
Normal file
0
test/asm/version.err
Normal file
1
test/asm/version.out
Normal file
1
test/asm/version.out
Normal file
@@ -0,0 +1 @@
|
|||||||
|
RGBDS version $0.$3.$A
|
||||||
Reference in New Issue
Block a user