ossp-pkg/l2/l2_p.h 1.18 -> 1.19
--- l2_p.h 2001/09/14 10:12:48 1.18
+++ l2_p.h 2001/09/21 17:30:58 1.19
@@ -54,6 +54,17 @@
if (expr) \
cu(value)
+#ifndef NDEBUG
+#define TRACE(str)\
+ do {\
+ fprintf(stderr, "%s:%d: %s\n", __FILE__, __LINE__, str);\
+ exit(1);\
+ }\
+ while (0)
+#else
+#define TRACE(expr) ((void)0)
+#endif
+
#define L2_MAX_MSGSIZE 4096
#define L2_MAX_CHANNELS 128
#define L2_MAX_FORMATTERS 128
|
|