mirror of
https://github.com/apache/httpd.git
synced 2026-01-26 19:01:35 +03:00
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
This commit is contained in:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user