summaryrefslogtreecommitdiffstats
path: root/src/ccapi/common/win/cci_os_debugging.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ccapi/common/win/cci_os_debugging.c')
-rw-r--r--src/ccapi/common/win/cci_os_debugging.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ccapi/common/win/cci_os_debugging.c b/src/ccapi/common/win/cci_os_debugging.c
index de31c7c397..597ac85605 100644
--- a/src/ccapi/common/win/cci_os_debugging.c
+++ b/src/ccapi/common/win/cci_os_debugging.c
@@ -32,7 +32,9 @@
/* ------------------------------------------------------------------------ */
void cci_os_debug_vprintf (const char *in_format, va_list in_args) {
+#ifdef DEBUG
printf ( "%s %ld ", timestamp(), GetCurrentThreadId() );
vprintf ( in_format, in_args );
printf ( "\n" );
+#endif
}