Use __FILE__
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user