diff options
author | Guido van Rossum <guido@python.org> | 1998-01-19 22:05:08 +0000 |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1998-01-19 22:05:08 +0000 |
commit | 3dacdc306e68fb0e4b1258008ad93ad0582e8f40 (patch) | |
tree | a4212a1d504071a61f8957bfae7803a7bd9b4f8b /Modules/syslogmodule.c | |
parent | 15af20a337ce0a611adf6dcc1ffbe1124ebdf43d (diff) | |
download | cpython-git-3dacdc306e68fb0e4b1258008ad93ad0582e8f40.tar.gz |
Add LOG_SYSLOG if defined.
Diffstat (limited to 'Modules/syslogmodule.c')
-rw-r--r-- | Modules/syslogmodule.c | 3 |
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); |