summaryrefslogtreecommitdiffstats
path: root/lib/qtimers.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/qtimers.h')
-rw-r--r--lib/qtimers.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/lib/qtimers.h b/lib/qtimers.h
index 8534a789..2af81819 100644
--- a/lib/qtimers.h
+++ b/lib/qtimers.h
@@ -35,6 +35,22 @@
* each with an action to be executed when the timer expires.
*/
+#ifdef QTIMERS_DEBUG /* Can be forced from outside */
+# if QTIMERS_DEBUG
+# define QTIMERS_DEBUG 1 /* Force 1 or 0 */
+#else
+# define QTIMERS_DEBUG 0
+# endif
+#else
+# ifdef QDEBUG
+# define QTIMERS_DEBUG 1 /* Follow QDEBUG */
+#else
+# define QTIMERS_DEBUG 0
+# endif
+#endif
+
+enum { qtimers_debug = QTIMERS_DEBUG } ;
+
/*==============================================================================
* Data Structures.
*/