Use __FILE__

This commit is contained in:
Kamil Trzcinski
2022-04-07 17:34:23 +02:00
parent a8e96565e1
commit 08811b747b
3 changed files with 4 additions and 4 deletions

View File

@ -2,7 +2,7 @@
#include <stdio.h>
#define __FILENAME__ (strrchr(__FILE__, '/') ? strrchr(__FILE__, '/') + 1 : __FILE__)
#define __FILENAME__ __FILE__
typedef struct log_options_s {
bool debug;