From fac3796db3a798ec64af12a56624aa535e45631f Mon Sep 17 00:00:00 2001 From: Andreas Monzner Date: Fri, 15 Dec 2006 16:19:33 +0000 Subject: fix --- lib/base/eerror.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'lib/base/eerror.cpp') diff --git a/lib/base/eerror.cpp b/lib/base/eerror.cpp index 2182df49..241b2d3d 100644 --- a/lib/base/eerror.cpp +++ b/lib/base/eerror.cpp @@ -126,15 +126,17 @@ void eWarning(const char* fmt, ...) if (logOutputConsole) fprintf(stderr, "%s\n", buf); } +#endif // DEBUG void ePythonOutput(const char *string) { +#ifdef DEBUG singleLock s(DebugLock); logOutput(lvlWarning, string); if (logOutputConsole) fwrite(string, 1, strlen(string), stderr); +#endif } -#endif // DEBUG void eWriteCrashdump() { -- cgit v1.2.3