]> granicus.if.org Git - apache/commitdiff
if HAVE_SYSLOG is defined but LOG_PRIMASK isn't, define LOG_PRIMASK to
authorJeff Trawick <trawick@apache.org>
Wed, 5 Apr 2000 02:01:09 +0000 (02:01 +0000)
committerJeff Trawick <trawick@apache.org>
Wed, 5 Apr 2000 02:01:09 +0000 (02:01 +0000)
the standard value

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84915 13f79535-47bb-0310-9956-ffa450edef68

include/http_log.h

index 1366c8ee0fee5fbe9c6246c370f6cd7fc5b94926..ab29b62ab581e38b566bf6acd1f5341dfb3623cf 100644 (file)
@@ -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 */