From: serassio <> Date: Tue, 6 Jun 2006 02:49:45 +0000 (+0000) Subject: Define LOG_AUTHPRIV as LOG_AUTH on systems still using the old deprecated X-Git-Tag: SQUID_3_0_PRE4~42 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8d54628e7904cfbea5a8d398f2b31df31d19084b;p=thirdparty%2Fsquid.git Define LOG_AUTHPRIV as LOG_AUTH on systems still using the old deprecated LOG_AUTH. One is Irix. --- diff --git a/src/logfile.cc b/src/logfile.cc index c0d7c991c0..b1307600e6 100644 --- a/src/logfile.cc +++ b/src/logfile.cc @@ -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;