mirror of
https://git.suyu.dev/suyu/AppImageKit-checkrt.git
synced 2026-01-03 13:14:33 +01:00
Print debug logs when APPIMAGE_CHECKRT_DEBUG is set
This commit is contained in:
parent
e1d82c8085
commit
73a1aa4132
3 changed files with 20 additions and 9 deletions
|
|
@ -1,3 +1,9 @@
|
|||
extern char *optional;
|
||||
extern char *optional_ld_preload;
|
||||
extern void checkrt(char *usr_in_appdir);
|
||||
extern int debug_flag;
|
||||
|
||||
#define DEBUG(...) do { \
|
||||
if (debug_flag) \
|
||||
printf(__VA_ARGS__); \
|
||||
} while (0)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue