mirror of
https://github.com/frida/tinycc
synced 2024-11-30 11:33:10 +03: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__;
|
|
}
|