bc13173ea9
Expanding macros such as __FILE__ or __TIME__ exposes arbitrary generated filenames and timestamps from the compiler pipeline which are not useful for interop and makes the klib generation non-deterministic. This patch instead redefines the macros to just map to their name in the properties available from Kotlin. Co-authored-by: Johan Bay <jobay@google.com>
8 lines
208 B
Modula-2
8 lines
208 B
Modula-2
---
|
|
#define KFILE "FILE:" __FILE__
|
|
#define KLINE "LINE:" __LINE__
|
|
#define KTIME "TIME:" __TIME__
|
|
#define KDATE "DATE:" __DATE__
|
|
#define KFILENAME "NAME:" __FILE_NAME__
|
|
#define KBASEFILE "BASE:" __BASE_FILE__
|