Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit f1e0d5a

Browse files
committed
Oops, add proper #ifdef for systems without support for syslog.
Per buildfarm member mastodon.
1 parent ec0be60 commit f1e0d5a

File tree

1 file changed

+3
-1
lines changed
  • src/backend/utils/misc

1 file changed

+3
-1
lines changed

src/backend/utils/misc/guc.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
* Written by Peter Eisentraut <peter_e@gmx.net>.
1111
*
1212
* IDENTIFICATION
13-
* $PostgreSQL: pgsql/src/backend/utils/misc/guc.c,v 1.442 2008/04/03 09:21:15 mha Exp $
13+
* $PostgreSQL: pgsql/src/backend/utils/misc/guc.c,v 1.443 2008/04/03 13:25:02 mha Exp $
1414
*
1515
*--------------------------------------------------------------------
1616
*/
@@ -229,6 +229,7 @@ static const struct config_enum_entry session_replication_role_options[] = {
229229
{NULL, 0}
230230
};
231231

232+
#ifdef HAVE_SYSLOG
232233
static const struct config_enum_entry syslog_facility_options[] = {
233234
{"local0", LOG_LOCAL0},
234235
{"local1", LOG_LOCAL1},
@@ -240,6 +241,7 @@ static const struct config_enum_entry syslog_facility_options[] = {
240241
{"local7", LOG_LOCAL7},
241242
{NULL, 0}
242243
};
244+
#endif
243245

244246

245247
/*

0 commit comments

Comments
 (0)