about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorFlorian Westphal <fw@strlen.de>2005-04-16 09:31:30 +0000
committerFlorian Westphal <fw@strlen.de>2005-04-16 09:31:30 +0000
commitaee48a3b38817828b8710ebfc6f189f29822a056 (patch)
treee4395e8195a0dbd668df5b2d732902086a05a4f9 /src
parent77faf14b29caf891c2014b0c8b009c0b60b036cd (diff)
downloadngircd-aee48a3b38817828b8710ebfc6f189f29822a056.tar.gz
ngircd-aee48a3b38817828b8710ebfc6f189f29822a056.zip
added kludge to make ngircd (with syslog) compile on mips-dec-ultrix4.5
Diffstat (limited to 'src')
-rw-r--r--src/ngircd/log.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/ngircd/log.c b/src/ngircd/log.c
index 62113f11..3cb394bd 100644
--- a/src/ngircd/log.c
+++ b/src/ngircd/log.c
@@ -14,7 +14,7 @@
 
 #include "portab.h"
 
-static char UNUSED id[] = "$Id: log.c,v 1.53 2005/03/19 18:43:49 fw Exp $";
+static char UNUSED id[] = "$Id: log.c,v 1.54 2005/04/16 09:31:30 fw Exp $";
 
 #include "imp.h"
 #include <assert.h>
@@ -58,6 +58,12 @@ GLOBAL void
 Log_Init( void )
 {
 #ifdef SYSLOG
+#ifndef LOG_CONS	/* Kludge: mips-dec-ultrix4.5 has no LOG_CONS/LOG_LOCAL5 */
+#define LOG_CONS 0
+#endif
+#ifndef LOG_LOCAL5
+#define LOG_LOCAL5 0
+#endif
 	/* Syslog initialisieren */
 	openlog( PACKAGE_NAME, LOG_CONS|LOG_PID, LOG_LOCAL5 );
 #endif