mirror of
https://git.suyu.dev/suyu/AppImageKit-checkrt.git
synced 2026-01-09 16:07:58 +01:00
Move DEBUG macro to own header to be a standalone helper
This commit is contained in:
parent
2f04ad81c6
commit
2796ea1f5f
4 changed files with 17 additions and 9 deletions
|
|
@ -1,9 +1,8 @@
|
|||
#ifndef CHEKRT_H
|
||||
#define CHECKRT_H
|
||||
|
||||
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)
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue