]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Define LOG_AUTHPRIV as LOG_AUTH on systems still using the old deprecated
authorserassio <>
Tue, 6 Jun 2006 02:49:45 +0000 (02:49 +0000)
committerserassio <>
Tue, 6 Jun 2006 02:49:45 +0000 (02:49 +0000)
LOG_AUTH. One is Irix.

src/logfile.cc

index c0d7c991c0a71fa7852136b27f3968ceecc04e00..b1307600e67f551480debb9e1e029d88213fa0ac 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * $Id: logfile.cc,v 1.19 2006/05/14 16:52:02 serassio Exp $
+ * $Id: logfile.cc,v 1.20 2006/06/05 20:49:45 serassio Exp $
  *
  * DEBUG: section 50    Log file handling
  * AUTHOR: Duane Wessels
@@ -40,6 +40,11 @@ static void logfileWriteWrapper(Logfile * lf, const void *buf, size_t len);
 
 #if HAVE_SYSLOG
 
+/* Define LOG_AUTHPRIV as LOG_AUTH on systems still using the old deprecated LOG_AUTH */
+#ifndef LOG_AUTHPRIV
+#define LOG_AUTHPRIV LOG_AUTH
+#endif
+
 struct syslog_symbol_t
 {
     const char* name;