kopia lustrzana https://github.com/Hamlib/Hamlib
Add __FILENAME__ macro
rodzic
4b41c0dbfc
commit
7838539a3b
|
@ -24,6 +24,8 @@
|
||||||
#ifndef _RIG_H
|
#ifndef _RIG_H
|
||||||
#define _RIG_H 1
|
#define _RIG_H 1
|
||||||
|
|
||||||
|
#define __FILENAME__ (strrchr(__FILE__, '/') ? strrchr(__FILE__, '/') + 1 : __FILE__)
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdarg.h>
|
#include <stdarg.h>
|
||||||
#include <inttypes.h>
|
#include <inttypes.h>
|
||||||
|
|
Ładowanie…
Reference in New Issue