diff th_string.h @ 525:59b8f15c5334

Add (compile-time enabled via TH_PRINTF_DEBUG define) global variable for controlling printf() function debug messages.
author Matti Hamalainen <ccr@tnsp.org>
date Fri, 27 Dec 2019 09:26:53 +0200
parents ff3ebe22f6c5
children c44ebf5b08fd
line wrap: on
line diff
--- a/th_string.h	Fri Dec 27 09:16:21 2019 +0200
+++ b/th_string.h	Fri Dec 27 09:26:53 2019 +0200
@@ -149,6 +149,11 @@
 #include "th_printf1.c"
 
 
+#ifdef TH_PRINTF_DEBUG
+extern BOOL th_printf_debug;
+#endif
+
+
 /* Parsing, matching
  */
 const char    *th_findnext(const char *, size_t *);