ref: 8191e5eb27e653fecd6fe84c15541e9c41dab2c1
parent: 323738e7b8426e59aa753ca1f1d623d5c1f24368
author: ISSOtm <[email protected]>
date: Sat Mar 21 15:26:40 EDT 2020
Define version symbols Major blunder. That warrants a new release on its own...
--- a/src/asm/symbol.c
+++ b/src/asm/symbol.c
@@ -788,6 +788,10 @@
p__LINE__Symbol = findsymbol("__LINE__", NULL);
p__LINE__Symbol->Callback = Callback__LINE__;
+ sym_AddEqu("__RGBDS_MAJOR__", PACKAGE_VERSION_MAJOR);
+ sym_AddEqu("__RGBDS_MINOR__", PACKAGE_VERSION_MINOR);
+ sym_AddEqu("__RGBDS_PATCH__", PACKAGE_VERSION_PATCH);
+
sym_AddSet("_RS", 0);
if (time(&now) != -1) {