diff options
| author | Thorsten Töpper <atsutane@freethoughts.de> | 2025-04-08 22:05:42 +0200 |
|---|---|---|
| committer | Thorsten Töpper <atsutane@freethoughts.de> | 2025-04-08 22:05:42 +0200 |
| commit | d511fe9a50ceb444660cb51f8fa63723290e590d (patch) | |
| tree | 0110038c9fe2f74850c4ff580783e00c87163a6a | |
| parent | d072d2ef6afadbbc7b8c80dc05c9952709d596c1 (diff) | |
| download | dotfiles-d511fe9a50ceb444660cb51f8fa63723290e590d.tar.gz dotfiles-d511fe9a50ceb444660cb51f8fa63723290e590d.tar.bz2 | |
poc-template.c DBGTRC added
| -rw-r--r-- | poc-template.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/poc-template.c b/poc-template.c index a62968a..7a1996f 100644 --- a/poc-template.c +++ b/poc-template.c @@ -11,6 +11,12 @@ #define LOGERR(...) {fprintf(stderr, "[%s:%d] %s: ", __FILE__, __LINE__, __func__); fprintf(stderr, __VA_ARGS__);} +#ifdef DEBUGBUILD +#define DBGTRC(...) LOGERR(__VA_ARGS__) +#else +#define DBGTRC(...) +#endif + int main(int argc, char **argv) { return EXIT_SUCCESS; } |
