summaryrefslogtreecommitdiff
path: root/runtime/debug.h
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/debug.h')
-rw-r--r--runtime/debug.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/runtime/debug.h b/runtime/debug.h
index f322609..6881ee7 100644
--- a/runtime/debug.h
+++ b/runtime/debug.h
@@ -109,6 +109,10 @@ void *dbgmalloc(size_t size);
void dbgOutputTID(char* name);
int dbgGetDbglogFd(void);
+/* external data */
+extern char *pszAltDbgFileName; /* if set, debug output is *also* sent to here */
+extern int altdbg; /* and the handle for alternate debug output */
+
/* macros */
#ifdef DEBUGLESS
# define DBGPRINTF(...) {}