Commit a063a193 authored by Jeff Trawick's avatar Jeff Trawick
Browse files

if HAVE_SYSLOG is defined but LOG_PRIMASK isn't, define LOG_PRIMASK to

the standard value


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84915 13f79535-47bb-0310-9956-ffa450edef68
parent 96464b91
Loading
Loading
Loading
Loading
+4 −0
Changes for include/http_log.h: 4 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -68,6 +68,10 @@ extern "C" {
#ifdef HAVE_SYSLOG
#include <syslog.h>

#ifndef LOG_PRIMASK
#define LOG_PRIMASK 7
#endif

#define APLOG_EMERG     LOG_EMERG     /* system is unusable */
#define APLOG_ALERT     LOG_ALERT     /* action must be taken immediately */
#define APLOG_CRIT      LOG_CRIT      /* critical conditions */