mirror of
https://github.com/frida/tinycc
synced 2024-12-23 21:46:49 +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__;
|
|
}
|