summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--xine_frontend.c7
-rw-r--r--xine_input_vdr.c9
2 files changed, 12 insertions, 4 deletions
diff --git a/xine_frontend.c b/xine_frontend.c
index 8d4d40b3..a2a1c879 100644
--- a/xine_frontend.c
+++ b/xine_frontend.c
@@ -4,7 +4,7 @@
* See the main source file 'xineliboutput.c' for copyright information and
* how to reach the author.
*
- * $Id: xine_frontend.c,v 1.8 2006-08-16 21:46:34 phintuka Exp $
+ * $Id: xine_frontend.c,v 1.9 2006-08-16 22:36:30 phintuka Exp $
*
*/
@@ -42,6 +42,9 @@ typedef struct {
* logging
*/
+#if !defined(XINELIBOUTPUT_DEBUG_STDOUT) && \
+ !defined(XINELIBOUTPUT_DEBUG_STDERR)
+
#undef x_syslog
_syscall0(pid_t, gettid)
@@ -60,6 +63,8 @@ static void x_syslog(int level, const char *fmt, ...)
va_end(argp);
}
+#endif
+
/*
* detect input plugin
*/
diff --git a/xine_input_vdr.c b/xine_input_vdr.c
index 824a701f..490591eb 100644
--- a/xine_input_vdr.c
+++ b/xine_input_vdr.c
@@ -4,7 +4,7 @@
* See the main source file 'xineliboutput.c' for copyright information and
* how to reach the author.
*
- * $Id: xine_input_vdr.c,v 1.25 2006-08-16 21:46:34 phintuka Exp $
+ * $Id: xine_input_vdr.c,v 1.26 2006-08-16 22:36:30 phintuka Exp $
*
*/
@@ -69,8 +69,11 @@
#include "logdefs.h"
-#undef x_syslog
-#define x_syslog syslog_with_tid
+#if !defined(XINELIBOUTPUT_DEBUG_STDOUT) && \
+ !defined(XINELIBOUTPUT_DEBUG_STDERR)
+# undef x_syslog
+# define x_syslog syslog_with_tid
+#endif
int iSysLogLevel = 1;
int bLogToSysLog = 0;