shithub: rgbds

Download patch

ref: 554b5292de88e5f522d81cf6040b4a9c92ac8098
parent: a7393d7e45b9dd0e60f710a06fb6e8e81e76dcbb
author: Antonio Niño Díaz <[email protected]>
date: Wed Apr 12 18:19:53 EDT 2017

Rename ISO 8601 timestamp defines

The previous names were ridiculously long.

Signed-off-by: Antonio Niño Díaz <[email protected]>

--- a/src/asm/symbol.c
+++ b/src/asm/symbol.c
@@ -798,8 +798,8 @@
 
 	sym_AddString("__TIME__", SavedTIME);
 	sym_AddString("__DATE__", SavedDATE);
-	sym_AddString("__TIMESTAMP_ISO_8601_LOCAL__", SavedTIMESTAMP_ISO8601_LOCAL);
-	sym_AddString("__TIMESTAMP_ISO_8601_UTC__", SavedTIMESTAMP_ISO8601_UTC);
+	sym_AddString("__ISO_8601_LOCAL__", SavedTIMESTAMP_ISO8601_LOCAL);
+	sym_AddString("__ISO_8601_UTC__", SavedTIMESTAMP_ISO8601_UTC);
 	sym_AddSet("_RS", 0);
 
 	sym_AddEqu("_NARG", 0);
@@ -857,8 +857,8 @@
 
 	sym_AddString("__TIME__", SavedTIME);
 	sym_AddString("__DATE__", SavedDATE);
-	sym_AddString("__TIMESTAMP_ISO_8601_LOCAL__", SavedTIMESTAMP_ISO8601_LOCAL);
-	sym_AddString("__TIMESTAMP_ISO_8601_UTC__", SavedTIMESTAMP_ISO8601_UTC);
+	sym_AddString("__ISO_8601_LOCAL__", SavedTIMESTAMP_ISO8601_LOCAL);
+	sym_AddString("__ISO_8601_UTC__", SavedTIMESTAMP_ISO8601_UTC);
 
 	pScope = NULL;