mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-20 10:12:06 +00:00
Define version symbols
Major blunder. That warrants a new release on its own...
This commit is contained in:
@@ -788,6 +788,10 @@ void sym_Init(void)
|
||||
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) {
|
||||
|
||||
Reference in New Issue
Block a user