aboutsummaryrefslogtreecommitdiff
path: root/iemnet.h
diff options
context:
space:
mode:
Diffstat (limited to 'iemnet.h')
-rw-r--r--iemnet.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/iemnet.h b/iemnet.h
index 955b6ca..fae3ad6 100644
--- a/iemnet.h
+++ b/iemnet.h
@@ -109,4 +109,17 @@ void iemnet__receiver_destroy(t_iemnet_receiver*);
#endif
+
+#ifdef DEBUG
+# undef DEBUG
+# define DEBUG startpost("[%s:%d]", __FUNCTION__, __LINE__); post
+#else
+static void debug_dummy(const char *format, ...) {;}
+# define DEBUG debug_dummy
+#endif
+
+
+
+
+
#endif /* INCLUDE_IEMNET_H_ */