shithub: rgbds

Download patch

ref: b61a187b1950bb3a48a3cf920ed0f019104cc000
parent: 6382f136477b4658b7cc13b6f2a444f5e44f2368
author: ISSOtm <[email protected]>
date: Tue Mar 9 20:09:18 EST 2021

Add forgotten __RGBDS_RC__ symbol

--- a/src/asm/symbol.c
+++ b/src/asm/symbol.c
@@ -727,6 +727,9 @@
 	sym_AddEqu("__RGBDS_MAJOR__", PACKAGE_VERSION_MAJOR)->isBuiltin = true;
 	sym_AddEqu("__RGBDS_MINOR__", PACKAGE_VERSION_MINOR)->isBuiltin = true;
 	sym_AddEqu("__RGBDS_PATCH__", PACKAGE_VERSION_PATCH)->isBuiltin = true;
+#ifdef PACKAGE_VERSION_RC
+	sym_AddEqu("__RGBDS_RC__", PACKAGE_VERSION_RC)->isBuiltin = true;
+#endif
 
 	if (now == (time_t)-1) {
 		warn("Couldn't determine current time");