Commit f1e0d5a8 authored by Magnus Hagander's avatar Magnus Hagander

Oops, add proper #ifdef for systems without support for syslog.

Per buildfarm member mastodon.
parent ec0be607
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
* Written by Peter Eisentraut <peter_e@gmx.net>. * Written by Peter Eisentraut <peter_e@gmx.net>.
* *
* IDENTIFICATION * IDENTIFICATION
* $PostgreSQL: pgsql/src/backend/utils/misc/guc.c,v 1.442 2008/04/03 09:21:15 mha Exp $ * $PostgreSQL: pgsql/src/backend/utils/misc/guc.c,v 1.443 2008/04/03 13:25:02 mha Exp $
* *
*-------------------------------------------------------------------- *--------------------------------------------------------------------
*/ */
...@@ -229,6 +229,7 @@ static const struct config_enum_entry session_replication_role_options[] = { ...@@ -229,6 +229,7 @@ static const struct config_enum_entry session_replication_role_options[] = {
{NULL, 0} {NULL, 0}
}; };
#ifdef HAVE_SYSLOG
static const struct config_enum_entry syslog_facility_options[] = { static const struct config_enum_entry syslog_facility_options[] = {
{"local0", LOG_LOCAL0}, {"local0", LOG_LOCAL0},
{"local1", LOG_LOCAL1}, {"local1", LOG_LOCAL1},
...@@ -240,6 +241,7 @@ static const struct config_enum_entry syslog_facility_options[] = { ...@@ -240,6 +241,7 @@ static const struct config_enum_entry syslog_facility_options[] = {
{"local7", LOG_LOCAL7}, {"local7", LOG_LOCAL7},
{NULL, 0} {NULL, 0}
}; };
#endif
/* /*
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment