mirror of
https://github.com/mirror/tinycc.git
synced 2024-12-28 04:00:06 +08:00
b7e0b693a6
Like __FILE__ but always refers to the command line file name also from inside headers.
10 lines
162 B
C
10 lines
162 B
C
static inline const char *get_basefile_from_header(void)
|
|
{
|
|
return __BASE_FILE__;
|
|
}
|
|
|
|
static inline const char *get_file_from_header(void)
|
|
{
|
|
return __FILE__;
|
|
}
|