aboutsummaryrefslogtreecommitdiff
path: root/poc-template.c
diff options
context:
space:
mode:
Diffstat (limited to 'poc-template.c')
-rw-r--r--poc-template.c6
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;
}