From: serassio <> Date: Tue, 6 Jun 2006 03:08:15 +0000 (+0000) Subject: Check if LOG_AUTH is defined before try to define LOG_AUTHPRIV X-Git-Tag: SQUID_3_0_PRE4~41 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=44ba3ed141aa207bfd02135b02e4cb58b6c435ed;p=thirdparty%2Fsquid.git Check if LOG_AUTH is defined before try to define LOG_AUTHPRIV --- diff --git a/src/logfile.cc b/src/logfile.cc index b1307600e6..5b0ac7d60b 100644 --- a/src/logfile.cc +++ b/src/logfile.cc @@ -1,5 +1,5 @@ /* - * $Id: logfile.cc,v 1.20 2006/06/05 20:49:45 serassio Exp $ + * $Id: logfile.cc,v 1.21 2006/06/05 21:08:15 serassio Exp $ * * DEBUG: section 50 Log file handling * AUTHOR: Duane Wessels @@ -41,7 +41,7 @@ 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 +#if !defined(LOG_AUTHPRIV) && defined(LOG_AUTH) #define LOG_AUTHPRIV LOG_AUTH #endif