aboutsummaryrefslogtreecommitdiff
path: root/src/trace.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/trace.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/trace.h b/src/trace.h
new file mode 100644
index 0000000..d7a8485
--- /dev/null
+++ b/src/trace.h
@@ -0,0 +1,10 @@
1#ifndef BU_TRACE_H
2#define BU_TRACE_H
3
4#ifdef BU_TRACE
5# define TRACE() printf("trace: %s\n", __PRETTY_FUNCTION__ )
6#else
7# define TRACE() {}
8#endif
9
10#endif