kopia lustrzana https://github.com/Hamlib/Hamlib
Merge branch 'master' of https://github.com/mdblack98/Hamlib
commit
c34e139706
|
@ -2643,7 +2643,7 @@ rig_need_debug HAMLIB_PARAMS((enum rig_debug_level_e debug_level));
|
||||||
#ifndef __cplusplus
|
#ifndef __cplusplus
|
||||||
#ifdef __GNUC__
|
#ifdef __GNUC__
|
||||||
// doing the debug macro with a dummy sprintf allows gcc to check the format string
|
// doing the debug macro with a dummy sprintf allows gcc to check the format string
|
||||||
#define rig_debug(debug_level,fmt,...) { char xxxbuf[756]="";snprintf(xxxbuf,sizeof(xxxbuf),fmt,__VA_ARGS__);rig_debug(debug_level,fmt,##__VA_ARGS__); }
|
#define rig_debug(debug_level,fmt,...) { char xxxbuf[16384]="";snprintf(xxxbuf,sizeof(xxxbuf),fmt,__VA_ARGS__);rig_debug(debug_level,fmt,##__VA_ARGS__); }
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
extern HAMLIB_EXPORT(void)
|
extern HAMLIB_EXPORT(void)
|
||||||
|
|
Ładowanie…
Reference in New Issue