summaryrefslogtreecommitdiff
path: root/Modules/syslogmodule.c
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1998-01-19 22:05:08 +0000
committerGuido van Rossum <guido@python.org>1998-01-19 22:05:08 +0000
commit3dacdc306e68fb0e4b1258008ad93ad0582e8f40 (patch)
treea4212a1d504071a61f8957bfae7803a7bd9b4f8b /Modules/syslogmodule.c
parent15af20a337ce0a611adf6dcc1ffbe1124ebdf43d (diff)
downloadcpython-git-3dacdc306e68fb0e4b1258008ad93ad0582e8f40.tar.gz
Add LOG_SYSLOG if defined.
Diffstat (limited to 'Modules/syslogmodule.c')
-rw-r--r--Modules/syslogmodule.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/Modules/syslogmodule.c b/Modules/syslogmodule.c
index daee15f1fb..1dd5a9736e 100644
--- a/Modules/syslogmodule.c
+++ b/Modules/syslogmodule.c
@@ -205,6 +205,9 @@ initsyslog()
ins(d, "LOG_MAIL", LOG_MAIL);
ins(d, "LOG_DAEMON", LOG_DAEMON);
ins(d, "LOG_AUTH", LOG_AUTH);
+#ifdef LOG_SYSLOG
+ ins(d, "LOG_SYSLOG", LOG_SYSLOG);
+#endif
ins(d, "LOG_LPR", LOG_LPR);
#ifdef LOG_NEWS
ins(d, "LOG_NEWS", LOG_NEWS);